DELETE_DRIVER_MODULE_SIGNER

Applies to: MS SQL driver only

Added in Flex2SQL 18.1.

Removes the signed session-count procedure, certificate-based login, and certificate from the SQL Server instance.

Syntax

DELETE_DRIVER_MODULE_SIGNER OF {ServerName}

Parameter

Description

ServerName

String containing the server/connection name of an existing MS SQL connection, as used when logging in.

The MS SQL driver must be loaded. The command does not log in to the server. Use the 18.1 include files and driver.

Removal Behavior

Run with an administrative SQL Server connection authorized to remove the objects. Applications relying on the signer will lose that session-count path. The database role and its memberships are left in place.

Check the status before removal and check Err after the call.

Example

This example assumes a connection named sqlserver has already been established with the administrative setup login:

String sServer

Move "sqlserver" to sServer
DELETE_DRIVER_MODULE_SIGNER OF sServer
// Check Err before continuing.