Partager via


ConnectorFrameworkProxy.Uninitialize Method (Guid)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public void Uninitialize(
    Guid connectorId
)
public:
void Uninitialize(
    Guid connectorId
)
member Uninitialize : 
        connectorId:Guid -> unit
Public Sub Uninitialize (
    connectorId As Guid
)

Parameters

  • connectorId
    Type: System.Guid

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

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.

Examples

See ConnectorFrameworkProxy for an example of the Uninitialize method.

See Also

ConnectorFrameworkProxy Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top