VistaDB 6
VistaDB.DDA Namespace / IVistaDBDDA Interface / CreateIsolatedDatabase Method
Full database file name
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.
Page size (in kilobytes) to use for database storage. If 0 is passed default page size is used.
Locale id to use for culture info assigned to the database. If 0 is passed default locale id is used.
Whether database character data is to be case sensitive.


In This Topic
    CreateIsolatedDatabase Method
    In This Topic
    Instantiates secure/unsecured DDA database object and creates it physically in isolated storage
    Syntax
    'Declaration
     
    
    Function CreateIsolatedDatabase( _
       ByVal fileName As System.String, _
       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 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.CreateIsolatedDatabase(fileName, encryptionKeyString, pageSize, LCID, caseSensitive)
    IVistaDBDatabase CreateIsolatedDatabase( 
       System.string fileName,
       System.string encryptionKeyString,
       System.int pageSize,
       System.int LCID,
       System.bool caseSensitive
    )

    Parameters

    fileName
    Full database file name
    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
    Remarks

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also