Metodo Api.TryOpenTable
Provare a aprire una tabella.
Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Sintassi
'Declaration
Public Shared Function TryOpenTable ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
tablename As String, _
grbit As OpenTableGrbit, _
<OutAttribute> ByRef tableid As JET_TABLEID _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim tablename As String
Dim grbit As OpenTableGrbit
Dim tableid As JET_TABLEID
Dim returnValue As Boolean
returnValue = Api.TryOpenTable(sesid, _
dbid, tablename, grbit, tableid)
public static bool TryOpenTable(
JET_SESID sesid,
JET_DBID dbid,
string tablename,
OpenTableGrbit grbit,
out JET_TABLEID tableid
)
Parametri
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSessione da usare.
dbid
Tipo: Microsoft.Isam.Esent.Interop.JET_DBIDDatabase in cui cercare la tabella.
tablename
Tipo: System.StringNome della tabella.
grbit
Tipo: Microsoft.Isam.Esent.Interop.OpenTableGrbitOpzioni di apertura tabella.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDRestituisce l'oggetto tableid aperto.
Valore restituito
Tipo: System.Boolean
True se la tabella è stata aperta, false se la tabella non esiste.
Vedi anche
Riferimento
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per