Metode Api.JetBeginSession
Menginisialisasi sesi ESENT baru.
Namespace:Microsoft.Isam.Esent.Interop
Majelis: Microsoft.Isam.Esent.Interop (dalam Microsoft.Isam.Esent.Interop.dll)
Sintaks
'Declaration
Public Shared Sub JetBeginSession ( _
instance As JET_INSTANCE, _
<OutAttribute> ByRef sesid As JET_SESID, _
username As String, _
password As String _
)
'Usage
Dim instance As JET_INSTANCE
Dim sesid As JET_SESID
Dim username As String
Dim password As StringApi.JetBeginSession(instance, sesid, _
username, password)
public static void JetBeginSession(
JET_INSTANCE instance,
out JET_SESID sesid,
string username,
string password
)
Parameter
instance
Jenis: Microsoft.Isam.Esent.Interop.JET_INSTANCEInstans yang diinisialisasi untuk membuat sesi.
sesid
Jenis: Microsoft.Isam.Esent.Interop.JET_SESIDMengembalikan sesi yang dibuat.
Nama pengguna
Jenis: System.StringParameter tidak digunakan.
kata sandi
Jenis: System.StringParameter tidak digunakan.