Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets database configuration options.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function JetGetSystemParameter ( _
instance As JET_INSTANCE, _
sesid As JET_SESID, _
paramid As JET_param, _
ByRef paramValue As Integer, _
<OutAttribute> ByRef paramString As String, _
maxParam As Integer _
) As JET_wrn
'Usage
Dim instance As JET_INSTANCE
Dim sesid As JET_SESID
Dim paramid As JET_param
Dim paramValue As Integer
Dim paramString As String
Dim maxParam As Integer
Dim returnValue As JET_wrn
returnValue = Api.JetGetSystemParameter(instance, _
sesid, paramid, paramValue, paramString, _
maxParam)
public static JET_wrn JetGetSystemParameter(
JET_INSTANCE instance,
JET_SESID sesid,
JET_param paramid,
ref int paramValue,
out string paramString,
int maxParam
)
Parameters
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe instance to retrieve the options from.
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
paramid
Type: Microsoft.Isam.Esent.Interop.JET_paramThe parameter to get.
paramValue
Type: System.Int32Returns the value of the parameter, if the value is an integer.
paramString
Type: System.StringReturns the value of the parameter, if the value is a string.
maxParam
Type: System.Int32The maximum size of the parameter string.
Return value
Type: Microsoft.Isam.Esent.Interop.JET_wrn
An ESENT warning code.
Remarks
ErrorToString passes in the error number in the paramValue, which is why it is a ref parameter and not an out parameter.