MonitoringConnector.InitializeForTiers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the monitoring connector that is required to get alerts by calling GetMonitoringAlertsForTiers(IList<ConnectorTieredOperationFailure>) for all tiered Management Groups.
Overloads
InitializeForTiers(IList<ConnectorTieredOperationFailure>) |
Initializes this connector, on each tier. |
InitializeForTiers(DateTime, IList<ConnectorTieredOperationFailure>) |
Initializes this connector, on each tier. |
Remarks
The MonitoringConnector
must be set up and initialized before any alerts can be retrieved. This method initializes the monitoring connector for subsequent calls with the currently stored bookmark.
Attempting to InitializeForTiers
a monitoring connector that is already initialized results in an exception with the "The connector is already in the given state." warning. It is advisable to perform a check of the <xref:Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector.Initialized%2A> property to determine if the monitoring connector is already initialized before attempting to InitializeForTiers
the monitoring connector.
InitializeForTiers(IList<ConnectorTieredOperationFailure>)
Initializes this connector, on each tier.
public:
void InitializeForTiers([Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorTieredOperationFailure ^> ^ % failures);
public void InitializeForTiers (out System.Collections.Generic.IList<Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorTieredOperationFailure> failures);
member this.InitializeForTiers : IList -> unit
Public Sub InitializeForTiers (ByRef failures As IList(Of ConnectorTieredOperationFailure))
Parameters
- failures
- IList<ConnectorTieredOperationFailure>
A list of failures that occured.
Remarks
The MonitoringConnector
must be set up and initialized before any alerts can be retrieved. This method initializes the monitoring connector for subsequent calls with the currently stored bookmark.
Attempting to InitializeForTiers
a monitoring connector that is already initialized results in an exception with the "The connector is already in the given state." warning. It is advisable to perform a check of the <xref:Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector.Initialized%2A> property to determine if the monitoring connector is already initialized before attempting to InitializeForTiers
the monitoring connector.
Applies to
InitializeForTiers(DateTime, IList<ConnectorTieredOperationFailure>)
Initializes this connector, on each tier.
public:
void InitializeForTiers(DateTime utcBookmarkTime, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorTieredOperationFailure ^> ^ % failures);
public void InitializeForTiers (DateTime utcBookmarkTime, out System.Collections.Generic.IList<Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorTieredOperationFailure> failures);
member this.InitializeForTiers : DateTime * IList -> unit
Public Sub InitializeForTiers (utcBookmarkTime As DateTime, ByRef failures As IList(Of ConnectorTieredOperationFailure))
Parameters
- utcBookmarkTime
- DateTime
The utc bookmark.
- failures
- IList<ConnectorTieredOperationFailure>
A list of failures that occured.
Remarks
The MonitoringConnector
must be set up and initialized before any alerts can be retrieved. This method initializes the monitoring connector for subsequent calls with the currently stored bookmark.
Attempting to InitializeForTiers
a monitoring connector that is already initialized results in an exception with the "The connector is already in the given state." warning. It is advisable to perform a check of the <xref:Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector.Initialized%2A> property to determine if the monitoring connector is already initialized before attempting to InitializeForTiers
the monitoring connector.