Uninitializes the monitoring connector for all tiered Management Groups, which will prohibit getting any alerts when the GetMonitoringAlertsForTiers is called. The failures that occurred for the configured tiers are returned. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid
Dim failures As ConnectorTieredOperationFailure()

instance.UninitializeForTiers(connectorId, failures)

Syntax

Visual Basic
Public Sub UninitializeForTiers ( _
		connectorId As Guid, _
		<OutAttribute> ByRef failures As ConnectorTieredOperationFailure() _
)
C#
public void UninitializeForTiers (
		Guid connectorId,
		out ConnectorTieredOperationFailure[] failures
)
C++
public:
void UninitializeForTiers (
		Guid connectorId, 
		[OutAttribute] array<ConnectorTieredOperationFailure^>^% failures
)
J#
public void UninitializeForTiers (
		Guid connectorId, 
		/** @attribute OutAttribute() */ /** @ref */ ConnectorTieredOperationFailure[] failures
)
JScript

Parameters

connectorId

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

failures

The array of failures that may have occurred for various tiers.

Remarks

After an UninitializeForTiers 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 UninitializeForTiers 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