Uninitializes the monitoring connector, which will prohibit getting any alerts when the GetMonitoringAlerts. is called. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid

instance.Uninitialize(connectorId)

Syntax

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

Parameters

connectorId

The globally unique identifier (GUID) of the monitoring connector to uninitialize.

Example

See ConnectorFrameworkProxy for an example of the Uninitialize method.

Remarks

After an Uninitialize no data can pass through 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 performing 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