Api.JetSetSystemParameter method (JET_INSTANCE, JET_SESID, JET_param, JET_CALLBACK, String)
Sets database configuration options.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function JetSetSystemParameter ( _
instance As JET_INSTANCE, _
sesid As JET_SESID, _
paramid As JET_param, _
paramValue As JET_CALLBACK, _
paramString As String _
) As JET_wrn
'Usage
Dim instance As JET_INSTANCE
Dim sesid As JET_SESID
Dim paramid As JET_param
Dim paramValue As JET_CALLBACK
Dim paramString As String
Dim returnValue As JET_wrn
returnValue = Api.JetSetSystemParameter(instance, _
sesid, paramid, paramValue, paramString)
public static JET_wrn JetSetSystemParameter(
JET_INSTANCE instance,
JET_SESID sesid,
JET_param paramid,
JET_CALLBACK paramValue,
string paramString
)
Parameters
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe instance to set the option on or Nil to set the option on all instances.
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
paramid
Type: Microsoft.Isam.Esent.Interop.JET_paramThe parameter to set.
paramValue
Type: Microsoft.Isam.Esent.Interop.JET_CALLBACKThe value of the parameter to set, if the parameter is a JET_CALLBACK.
paramString
Type: System.StringThe value of the parameter to set, if the parameter is a string type.
Return value
Type: Microsoft.Isam.Esent.Interop.JET_wrn
An ESENT warning code.