共用方式為


IProviderAdmin : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Vtable Order

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.

Remarks

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.

See Also

Concepts

MAPI Interfaces