MonitoringConnector.Uninitialize Method

Updated: April 16, 2012

Uninitializes the monitoring connector, which will prohibit getting any alerts when GetMonitoringAlerts is called. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As MonitoringConnector instance.UninitializePublic Sub Uninitializepublic void Uninitialize ()public: void Uninitialize ()public void Uninitialize ()public function Uninitialize ()

An example of this method is shown in MonitoringConnector.

After an Uninitialize no alerts can be retrieved with the monitoring connector. A monitoring connector must be uninitialized before being deleted with the Cleanup method. Attempting to Uninitialize a monitoring connector that is already uninitialized results in an exception with the "The connector is already in the given state." warning.

Perform an Uninitialize before a Cleanup of the monitoring connector.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms