Share via


ConnectorState Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Indicates the possible initialization states for a monitoring connector.

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

Usage

'Usage
Dim instance As ConnectorState

Syntax

'Declaration
<DataContractAttribute> _
Public Enumeration ConnectorState
[DataContractAttribute] 
public enum ConnectorState
[DataContractAttribute] 
public enum class ConnectorState
/** @attribute DataContractAttribute() */ 
public enum ConnectorState
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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

Microsoft.EnterpriseManagement.ConnectorFramework Namespace