GET_DRIVER_MODULE_SIGNER_STATUS¶
Applies to: MS SQL driver only
Added in Flex2SQL 18.1.
Checks whether the expected signed session-count procedure can be verified
in the SQL Server instance’s master database.
Syntax¶
GET_DRIVER_MODULE_SIGNER_STATUS OF {ServerName} TO {Status}
Parameter |
Description |
|---|---|
ServerName |
String containing the server/connection name of an existing MS SQL connection, as used when logging in. |
Status |
Integer variable that receives the verification result. |
The MS SQL driver must be loaded. The command does not log in to the server. Use the 18.1 include files and driver.
Return Value¶
1: the expected procedure signature was verified.0: the expected signature could not be verified. The objects may be absent, altered, or inaccessible to the current user.
Status is not a complete permissions test: the application also needs role
membership to execute the procedure. Check Err for command errors; do not
assume that 0 always means the objects are absent.
Example¶
This example assumes a connection named sqlserver has already been
established:
String sServer
Integer iStatus
Move "sqlserver" to sServer
GET_DRIVER_MODULE_SIGNER_STATUS OF sServer to iStatus
If (not(Err)) Showln "Signer status: " iStatus