Condividi tramite


EnterpriseManagementGroup.IsConnected Property

Gets a value that determines whether this EnterpriseManagementGroup object is currently connected to a Service Manager server. The Reconnect method can be called when no connection is present.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As EnterpriseManagementGroup
Dim value As Boolean

value = instance.IsConnected

Syntax

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

Property Value

true if this management group instance is connected to a Service Manager server; otherwise, false

Remarks

If the current connection has timed out, this property will continue to return true. If the maximum time-out period has lapsed, 30 minutes, the call will return true, throw an exception, and additional calls will return 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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

EnterpriseManagementGroup Class
EnterpriseManagementGroup Members
Microsoft.EnterpriseManagement Namespace