ConnectorFrameworkProxy.GetMonitoringAlertsWithBookmarkForTiers(Guid, DateTime, ConnectorTieredOperationFailure[]) 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.
Gets alerts for the given connector.
public:
cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ GetMonitoringAlertsWithBookmarkForTiers(Guid connectorId, DateTime utcBookmarkTime, [Runtime::InteropServices::Out] cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorTieredOperationFailure ^> ^ % failures);
public Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] GetMonitoringAlertsWithBookmarkForTiers (Guid connectorId, DateTime utcBookmarkTime, out Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorTieredOperationFailure[] failures);
member this.GetMonitoringAlertsWithBookmarkForTiers : Guid * DateTime * ConnectorTieredOperationFailure[] -> Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[]
Public Function GetMonitoringAlertsWithBookmarkForTiers (connectorId As Guid, utcBookmarkTime As DateTime, ByRef failures As ConnectorTieredOperationFailure()) As ConnectorMonitoringAlert()
Parameters
- connectorId
- Guid
The connector id.
- utcBookmarkTime
- DateTime
The bookmark time to get alerts by.
- failures
- ConnectorTieredOperationFailure[]
Any failures that occurred for various tiers.
Returns
The alerts that have changed since the current bookmark of the connector.
Remarks
To get a ConnectorMonitoringAlert array collection through a MonitoringConnector:
The monitoring connector must be set up.
The monitoring connector must be initialized.
Alerts must be present.
Alerts must be marked for the monitoring connector.
This method gets all alerts assigned to a specific monitoring connector after the specified bookmark date and time.
This method gets alerts only from the utcBookmarkTime to the current time less 30 seconds.