次の方法で共有


MonitoringConnector.Initialized Property

Gets a value indicating whether the monitoring connector is initialized.

Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As MonitoringConnector
Dim value As Boolean

value = instance.Initialized

Syntax

'Declaration
Public ReadOnly Property Initialized As Boolean
public bool Initialized { get; }
public:
property bool Initialized {
    bool get ();
}
/** @property */
public boolean get_Initialized ()
public function get Initialized () : boolean

Property Value

true if the monitoring connector is initialized; otherwise, false.

Example

An example of this property is shown in Name.

Remarks

The MonitoringConnector must be set up and initialized before any alerts can be retrieved.

Attempting to initialize a monitoring connector that is already initialized results in an exception with the "The connector is already in the given state." warning. It is advisable to perform a check of the Initialized property to determine if the monitoring connector is already initialized before attempting to Initialize the monitoring connector.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

MonitoringConnector Class
MonitoringConnector Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Send comments about this topic to Microsoft.