IRegisterProvider

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.

This topic is a part of: