IConnectorFramework.UninitializeForTiers Method (Guid, ConnectorTieredOperationFailure[])
Applies To: Operations Manager for System Center 2012
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)
Syntax
[FaultContractAttribute(typeof(TimeoutException))]
[FaultContractAttribute(typeof(ServiceNotRunningException))]
[FaultContractAttribute(typeof(UnknownServiceException))]
[FaultContractAttribute(typeof(UnknownChannelException))]
[FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))]
[FaultContractAttribute(typeof(UnknownAuthorizationStoreException))]
[FaultContractAttribute(typeof(UnknownDatabaseException))]
[FaultContractAttribute(typeof(InvalidDatabaseDataException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(ServerDisconnectedException))]
void UninitializeForTiers(
Guid connectorId,
out ConnectorTieredOperationFailure[] failures
)
[FaultContractAttribute((TimeoutException^::typeid))]
[FaultContractAttribute((ServiceNotRunningException^::typeid))]
[FaultContractAttribute((UnknownServiceException^::typeid))]
[FaultContractAttribute((UnknownChannelException^::typeid))]
[FaultContractAttribute((UnauthorizedAccessEnterpriseManagementException^::typeid))]
[FaultContractAttribute((UnknownAuthorizationStoreException^::typeid))]
[FaultContractAttribute((UnknownDatabaseException^::typeid))]
[FaultContractAttribute((InvalidDatabaseDataException^::typeid))]
[OperationContractAttribute]
[FaultContractAttribute((ServerDisconnectedException^::typeid))]
void UninitializeForTiers(
Guid connectorId,
[OutAttribute] array<ConnectorTieredOperationFailure^>^% failures
)
[<FaultContractAttribute(typeof(TimeoutException))>]
[<FaultContractAttribute(typeof(ServiceNotRunningException))>]
[<FaultContractAttribute(typeof(UnknownServiceException))>]
[<FaultContractAttribute(typeof(UnknownChannelException))>]
[<FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))>]
[<FaultContractAttribute(typeof(UnknownAuthorizationStoreException))>]
[<FaultContractAttribute(typeof(UnknownDatabaseException))>]
[<FaultContractAttribute(typeof(InvalidDatabaseDataException))>]
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(ServerDisconnectedException))>]
abstract UninitializeForTiers :
connectorId:Guid *
failures:ConnectorTieredOperationFailure[] byref -> unit
<FaultContractAttribute(GetType(TimeoutException))>
<FaultContractAttribute(GetType(ServiceNotRunningException))>
<FaultContractAttribute(GetType(UnknownServiceException))>
<FaultContractAttribute(GetType(UnknownChannelException))>
<FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))>
<FaultContractAttribute(GetType(UnknownAuthorizationStoreException))>
<FaultContractAttribute(GetType(UnknownDatabaseException))>
<FaultContractAttribute(GetType(InvalidDatabaseDataException))>
<OperationContractAttribute>
<FaultContractAttribute(GetType(ServerDisconnectedException))>
Sub UninitializeForTiers (
connectorId As Guid,
<OutAttribute> ByRef failures As ConnectorTieredOperationFailure()
)
Parameters
connectorId
Type: System.GuidThe globally unique identifier (GUID) for the monitoring connector to uninitialize.
failures
Type: Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorTieredOperationFailure[]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.
See Also
IConnectorFramework Interface
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top