IProviderAdmin : IUnknown

Last modified: July 23, 2011

Applies to: Outlook

Works with service providers in a message service.

Header file:

Mapidefs.h

Exposed by:

Provider administration objects

Implemented by:

MAPI

Called by:

Client applications and service providers

Interface identifier:

IID_IProviderAdmin

Pointer type:

LPPROVIDERADMIN

GetLastError

Returns a MAPIERROR structure that contains information about the previous error that occurred to the provider administration object.

GetProviderTable

Provides access to the message service's provider table, a list of the service providers in the message service.

CreateProvider

Adds a service provider to the message service.

DeleteProvider

Deletes a service provider from the message service.

OpenProfileSection

Opens a profile section from the current profile and returns an IProfSect pointer for further access.

Clients can get a pointer to an IProviderAdmin interface by calling the IMsgServiceAdmin::AdminProviders method; service providers are passed an IProviderAdmin pointer when their message service's entry point function is called.

Show: