Platform SDK: MAPI |
The IMAPISession::AdminServices method returns an IMsgServiceAdmin pointer for making changes to message services.
HRESULT AdminServices( ULONG ulFlags, LPSERVICEADMIN FAR * lppServiceAdmin );
The IMAPISession::AdminServices method creates a message service administration object — an object that supports the IMsgServiceAdmin 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.