VistaDB 6
VistaDB.DDA Namespace / IVistaDBDatabase Interface / CreateTable Method
Table schema to create
When it is set, the table instance will have exclusive access to the table. Any other open attempts on the table will fail.
When it is set, the table instance will have read-only access to the table. Any other opened instance may write to the table if this is nonexclusive.


In This Topic
    CreateTable Method
    In This Topic
    Create new table given the table schema. You should call NewTable() first to get the schema to pass to this function.
    Syntax
    'Declaration
     
    
    Function CreateTable( _
       ByVal schema As IVistaDBTableSchema, _
       ByVal exclusive As System.Boolean, _
       ByVal readOnly As System.Boolean _
    ) As IVistaDBTable
    'Usage
     
    
    Dim instance As IVistaDBDatabase
    Dim schema As IVistaDBTableSchema
    Dim exclusive As System.Boolean
    Dim readOnly As System.Boolean
    Dim value As IVistaDBTable
     
    value = instance.CreateTable(schema, exclusive, readOnly)
    IVistaDBTable CreateTable( 
       IVistaDBTableSchema schema,
       System.bool exclusive,
       System.bool readOnly
    )

    Parameters

    schema
    Table schema to create
    exclusive
    When it is set, the table instance will have exclusive access to the table. Any other open attempts on the table will fail.
    readOnly
    When it is set, the table instance will have read-only access to the table. Any other opened instance may write to the table if this is nonexclusive.

    Return Value

    IVistaDBTable instance
    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