Api.JetGetSystemParameter method (JET_INSTANCE, JET_SESID, JET_param, IntPtr, String, Int32)
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 IntPtr, _
<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 IntPtr
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 IntPtr 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.IntPtrReturns 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.
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