IMAPISession::AdminServices

The IMAPISession::AdminServices method returns an IMsgServiceAdmin pointer for making changes to message services.

Quick Info

See IMAPISession : IUnknown2MVW67N.

 

HRESULT AdminServices(

    ULONG ulFlags,

 

    LPSERVICEADMIN FAR * lppServiceAdmin

 

   )

 

 

Parameters

ulFlags

Reserved; must be zero.

lppServiceAdmin

[out] Pointer to a pointer to a message service administration object.

 

Return Values

S_OK

A pointer to a message service administration object was successfully returned.

 

Notes to Callers

The IMAPISession::AdminServices method creates a message service administration object   an object that supports the IMsgServiceAdminAV9KUM interface   and returns a pointer. With this pointer, you can call IMsgServiceAdmin methods to make changes to any of the message services in the session profile. Be aware that these changes do not take affect until the next session; the current session is unaffected.

See Also

IMsgServiceAdmin : IUnknown, IProfAdmin::AdminServices