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)

Usage

Visual Basic
Dim instance As MonitoringConnector

instance.Uninitialize

Syntax

Visual Basic
Public Sub Uninitialize
C#
public void Uninitialize ()
C++
public:
void Uninitialize ()
J#
public void Uninitialize ()
JScript
public function Uninitialize ()

Example

An example of this method is shown in MonitoringConnector.

Remarks

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.


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