 | 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.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void CreateComp(
string file,
int lines,
int chans,
int blobs,
int users,
int cache,
string super,
string password,
int page,
int level
)
public static void CreateComp(
string file,
int lines,
int chans,
int blobs,
int users,
int cache,
string super,
string password,
int page,
int level
)
Public Shared Sub CreateComp (
file As String,
lines As Integer,
chans As Integer,
blobs As Integer,
users As Integer,
cache As Integer,
super As String,
password As String,
page As Integer,
level As Integer
)
Public Shared Sub CreateComp (
file As String,
lines As Integer,
chans As Integer,
blobs As Integer,
users As Integer,
cache As Integer,
super As String,
password As String,
page As Integer,
level As Integer
)
public:
static void CreateComp(
String^ file,
int lines,
int chans,
int blobs,
int users,
int cache,
String^ super,
String^ password,
int page,
int level
)
public:
static void CreateComp(
String^ file,
int lines,
int chans,
int blobs,
int users,
int cache,
String^ super,
String^ password,
int page,
int level
)
static member CreateComp :
file : string *
lines : int *
chans : int *
blobs : int *
users : int *
cache : int *
super : string *
password : string *
page : int *
level : int -> unit
static member CreateComp :
file : string *
lines : int *
chans : int *
blobs : int *
users : int *
cache : int *
super : string *
password : string *
page : int *
level : int -> unit
Parameters
- file
- Type: SystemString
Name of the Database File to Create - lines
- Type: SystemInt32
Max Lines in the Database (200) - chans
- Type: SystemInt32
Max Channels in the Database (50) - blobs
- Type: SystemInt32
Max Blobs in the Database (Channels+Lines+20) - users
- Type: SystemInt32
Max Users in the Database (10) - cache
- Type: SystemInt32
Number of Erase Caches (100) - super
- Type: SystemString
Name of the Super User "SUPER" - password
- Type: SystemString
Password of the Super User "" - page
- Type: SystemInt32
Page Size Must be (64,128,256,512,1024,2048,4096) normally 1024 - level
- Type: SystemInt32
<define>DB_COMP</define>
See Also