VistaDB 6
VistaDB.DDA Namespace / IVistaDBDatabase Interface / OpenTable Method
Table name
Table will be accessed exclusively by this table instance only
Table instance will be accessed for read-only. The other instances still may write to the table unless shareReadOnly database opening flag has set to the true value


In This Topic
    OpenTable Method
    In This Topic
    Open table
    Syntax
    'Declaration
     
    
    Function OpenTable( _
       ByVal name As System.String, _
       ByVal exclusive As System.Boolean, _
       ByVal readOnly As System.Boolean _
    ) As IVistaDBTable
    'Usage
     
    
    Dim instance As IVistaDBDatabase
    Dim name As System.String
    Dim exclusive As System.Boolean
    Dim readOnly As System.Boolean
    Dim value As IVistaDBTable
     
    value = instance.OpenTable(name, exclusive, readOnly)
    IVistaDBTable OpenTable( 
       System.string name,
       System.bool exclusive,
       System.bool readOnly
    )

    Parameters

    name
    Table name
    exclusive
    Table will be accessed exclusively by this table instance only
    readOnly
    Table instance will be accessed for read-only. The other instances still may write to the table unless shareReadOnly database opening flag has set to the true value

    Return Value

    Instance of IVistaDBTable
    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