ODBC.UninstallManager

number ODBC.UninstallManager ( 

 )

Description

Uninstalls the driver manager, and returns its usage count after it's done. This is accomplished by removing information about the ODBC core components from the Odbcinst.ini entry in the system information. This action wraps the RemoveDriverManager function of the Windows API.

Note: This action does not actually remove any files. If you would like the files removed, you must remove them using actions. However generally driver manager files should not be removed from the user's system because these files may be used by other applications that have not incremented the file usage count.

Parameters

None.

Returns

(number) The usage count of the Driver Manager after this function has been called. If an error occurs, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions