| CDBCreateComp Method |
This method makes a brand new database of the specified size.
The database is opened in ReadWrite Mode. Also allows you to
set paging size and the Compression Level.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax public static void CreateComp(
string str1,
int i2,
int i3,
int i4,
int i5,
int i6,
string str7,
string str8,
int i9,
int i10
)
Public Shared Sub CreateComp (
str1 As String,
i2 As Integer,
i3 As Integer,
i4 As Integer,
i5 As Integer,
i6 As Integer,
str7 As String,
str8 As String,
i9 As Integer,
i10 As Integer
)
public:
static void CreateComp(
String^ str1,
int i2,
int i3,
int i4,
int i5,
int i6,
String^ str7,
String^ str8,
int i9,
int i10
)
static member CreateComp :
str1 : string *
i2 : int *
i3 : int *
i4 : int *
i5 : int *
i6 : int *
str7 : string *
str8 : string *
i9 : int *
i10 : int -> unit
Parameters
- str1
- Type: SystemString
name of the Database File to Create - i2
- Type: SystemInt32
Max Lines in the Database (200) - i3
- Type: SystemInt32
Max Channels in the Database (50) - i4
- Type: SystemInt32
Max Blobs in the Database (Channels+Lines+20) - i5
- Type: SystemInt32
Max Users in the Database (10) - i6
- Type: SystemInt32
Number of Erase Caches (100) - str7
- Type: SystemString
Name of the Super User "SUPER" - str8
- Type: SystemString
Password of the Super User "" - i9
- Type: SystemInt32
Page Size Must be (64,128,256,512,1024,2048,4096) normally 1024 - i10
- Type: SystemInt32
See DB_COMPConstant
See Also