IHostedEmailAdaptor.Connected Property
Retrieves whether the adapter is connected to the host email server.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailBase (in Wssg.HostedEmailBase.dll)
Syntax
bool Connected { get; }
property bool Connected {
bool get();
}
ReadOnly Property Connected As Boolean
Property Value
Type: System.Boolean
true if connected; otherwise, false.
Remarks
The caller of the adapter can use Connected to determine whether to call Connect.
Examples
The following code implements the Connected property. For the complete sample code, see Quickstart: Creating a Hosted Email Adapter.
private bool connected = false;
public bool Connected
{
get
{
return connected;
}
}
See Also
IHostedEmailAdaptor Interface
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top