InternalLogSQL Method
- Last UpdatedNov 06, 2025
- 1 minute read
The LogSQL method logs the messages when the SQL flag is enabled in the LogFlagEditor
'Declaration
<SuppressMessageAttribute("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")>
Friend Shared Sub InternalLogSQL( _
ByVal hIdentity As Integer, _
ByVal errorMessage As String _
)
'Usage
Dim hIdentity As Integer
Dim errorMessage As String
NativeMethods.InternalLogSQL(hIdentity, errorMessage)
[SuppressMessage("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")]
internal static void InternalLogSQL(
int hIdentity,
string errorMessage
)
Parameters
- hIdentity
- The h identity.
- errorMessage
- The message.