IRegisterProvider

OLE DB Programmer's Reference

The root binder's IRegisterProvider interface manages the mapping of URL schemes and prefixes to OLE DB providers.

When to Implement

IRegisterProvider is an optional interface on binder objects. However, only the root binder implements it. It should not be implemented by provider binder objects.

When to Call

A provider calls IRegisterProvider methods, typically during installation, to register or unregister its ability to process a particular URL scheme or scheme and prefix.

Method Description
GetURLMapping Returns the CLSID of the provider binder object that is mapped to a particular URL scheme or scheme and prefix.
SetURLMapping Registers the ability of a provider binder object to process a particular URL scheme or scheme and prefix.
UnregisterProvider Unregisters one or more URL mappings for a provider.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net