Api.JetDeleteColumn2 method
Deletes a column from a database table.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetDeleteColumn2 ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
column As String, _
grbit As DeleteColumnGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim column As String
Dim grbit As DeleteColumnGrbitApi.JetDeleteColumn2(sesid, tableid, _
column, grbit)
public static void JetDeleteColumn2(
JET_SESID sesid,
JET_TABLEID tableid,
string column,
DeleteColumnGrbit grbit
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDA cursor on the table to delete the column from.
column
Type: System.StringThe name of the column to be deleted.
grbit
Type: Microsoft.Isam.Esent.Interop.DeleteColumnGrbitColumn deletion options.