'Declaration
Overloads Function CreateDatabase( _ ByVal fileName As System.String, _ ByVal stayExclusive As System.Boolean, _ ByVal encryptionKeyString As System.String, _ ByVal pageSize As System.Integer, _ ByVal LCID As System.Integer, _ ByVal caseSensitive As System.Boolean _ ) As IVistaDBDatabase
'Usage
Dim instance As IVistaDBDDA Dim fileName As System.String Dim stayExclusive As System.Boolean Dim encryptionKeyString As System.String Dim pageSize As System.Integer Dim LCID As System.Integer Dim caseSensitive As System.Boolean Dim value As IVistaDBDatabase value = instance.CreateDatabase(fileName, stayExclusive, encryptionKeyString, pageSize, LCID, caseSensitive)
IVistaDBDatabase CreateDatabase( System.string fileName, System.bool stayExclusive, System.string encryptionKeyString, System.int pageSize, System.int LCID, System.bool caseSensitive )
Parameters
- fileName
- Full database file name including path. The database will be written to the current working directory if no path is provided.
- stayExclusive
- After creation should the connection remain exclusive with no other overlapping connections allowed (true) or allow other connections to be opened (false). (Follow false by another bool argument staySingleProcess for the other overload to optionally restrict sharing only within the same process and AppDomain. This overload defaults to staySingleProcess = false; i.e. sharing would be multi-process.)
- encryptionKeyString
- Password or phrase to hash for encryption key, or null (Nothing in Visual Basic) for no encryption. An empty string is NOT valid and will result in an error.
- pageSize
- Page size (in kilobytes) to use for database storage. If 0 is passed default page size is used.
- LCID
- Locale id to use for culture info assigned to the database. If 0 is passed default locale id is used.
- caseSensitive
- Whether database character data is to be case sensitive.
Return Value
IVistaDBDatabase object instance