Share via


FrameworkBase.GetData Method

Retrieves all unacknowledged alert data.

 public abstract Data FrameworkBase.GetData(
    Guid registrationId,
    DataChanges dataChangeFlags,
    Int32 maxCount
);

Parameters

  • registrationId
    The connector's registration ID. The registration ID is obtained from the initial call to the FrameworkBase.Setup method.
  • dataChangeFlags
    Specifies the type of data you want your connector to receive. These types must be a subset of the dataChangeFlags passed to the FrameworkBase.Initialize method.
  • maxCount
    The maximum number of rows to return. This represents the sum of all rows, in all tables that are returned inside the DataSet.

Return Value

A Data object containing any unacknowledged data that matches the specified dataChangeFlags argument.

Exceptions

Exception Type Condition
System.ArgumentOutOfRangeException The dataChangeFlags value is not valid.
System.InvalidOperationException The registrationId value is valid, or the dataChangeFlags value is not a subset of the value specified when the Initialize method was called.

Remarks

Alert information is returned in date ascending order.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Connector

Assembly: MomConnectorFramework (in MomConnectorFramework.dll)

See Also

FrameworkBase Class | FrameworkBase Members | FrameworkBase.Setup Method | FrameworkBase.Initialize Method