Api.JetSetColumns method
Allows an application to set multiple column values in a single operation. An array of JET_SETCOLUMN structures is used to describe the set of column values to be set, and to describe input buffers for each column value to be set.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand)> _
Public Shared Function JetSetColumns ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
setcolumns As JET_SETCOLUMN(), _
numColumns As Integer _
) As JET_wrn
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim setcolumns As JET_SETCOLUMN()
Dim numColumns As Integer
Dim returnValue As JET_wrn
returnValue = Api.JetSetColumns(sesid, _
tableid, setcolumns, numColumns)
[SecurityPermissionAttribute(SecurityAction.LinkDemand)]
public static JET_wrn JetSetColumns(
JET_SESID sesid,
JET_TABLEID tableid,
JET_SETCOLUMN[] setcolumns,
int numColumns
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to set the columns on.
setcolumns
Type: []An array of JET_SETCOLUMN structures describing the data to set.
numColumns
Type: System.Int32Number of entries in the setcolumns parameter.
Return value
Type: Microsoft.Isam.Esent.Interop.JET_wrn
A warning. If the last column set has a warning, then this warning will be returned from JetSetColumns itself.
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for