다음을 통해 공유


SmtpSession.IsConnected Property

When overridden in a derived class, the IsConnected property returns a value that indicates whether the session is currently connected.

Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property IsConnected As Boolean
public abstract bool IsConnected { get; }
public:
virtual property bool IsConnected {
    bool get () abstract;
}
/** @property */
public abstract boolean get_IsConnected ()
public abstract function get IsConnected () : boolean

Property Value

When overridden in a derived class, the IsConnected property returns true if the connection is still established; otherwise, the property returns false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003