Indicates the possible initialization states for a monitoring connector. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ConnectorState

Syntax

Visual Basic
<DataContractAttribute> _
Public Enumeration ConnectorState
C#
[DataContractAttribute] 
public enum ConnectorState
C++
[DataContractAttribute] 
public enum class ConnectorState
J#
/** @attribute DataContractAttribute() */ 
public enum ConnectorState
JScript
DataContractAttribute 
public enum ConnectorState

Members

Member name Description
Initialized Specifies that the monitoring connector is initialized.
Uninitialized Specifies that the monitoring connector is not initialized.

Example

See GetConnectorState for an example of this enumeration.

Remarks

The GetConnectorState method is used to check the initialization state of the monitoring connector. The monitoring connector 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 ConnectorState to determine if the monitoring connector is already initialized before attempting to Initialize the connector.


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