ConnectorState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Connector states.
public enum class ConnectorState
[System.Runtime.Serialization.DataContract]
public enum ConnectorState
type ConnectorState =
Public Enum ConnectorState
- Inheritance
-
ConnectorState
- Attributes
Fields
Name | Value | Description |
---|---|---|
Initialized | 0 | Specifies that the monitoring connector is initialized. |
Uninitialized | 1 | Specifies that the monitoring connector is not initialized. |
Examples
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.