Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disconnects a user management session.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailBase (in Wssg.HostedEmailBase.dll)
Syntax
void Disconnect()
void Disconnect()
Sub Disconnect
Remarks
This method is similar to a standard sign-out, but is optimized for a user-account management session.
Examples
The following code implements Disconnect. For the complete sample code, see Quickstart: Creating a Hosted Email Adapter.
public void Disconnect()
{
EmailService.LogOff(CredentialManager.AdminUserName);
connected = false;
}
See Also
IHostedEmailAdaptor Interface
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top