OLE DB Programmer's Reference |
Unregisters one or more URL mappings for a provider binder object.
HRESULT UnregisterProvider( LPCOLESTR pwszURL, DB_DWRESERVE dwReserved, REFCLSID rclsidProvider );
Parameters
Return Code
*pwszURL was specified, and no matching scheme/prefix combinations were found or were mapped to rclsidProvider.
dwReserved was not 0.
Comments
If pwszURL is a null pointer, any URL mappings for the OLE DB provider binder object named by rclsidProvider are removed.
If pwszURL is not a null pointer, the scheme or scheme and prefix combination named by *pwszURL is unmapped.
IRegisterProvider::UnregisterProvider is not transacted. If the root binder encounters a failure, it is possible that some (but not all) mappings might have been removed.
1998-2001 Microsoft Corporation. All rights reserved.