Share via


FrameworkWebServiceProxy.SetBookmark Method

Specifies the earliest date and time of the information returned by the GetData method.

 public override void SetBookmark(
    Guid registrationId,
    DataChanges dataChangeFlags,
    DateTime time
);

Parameters

  • registrationId
    The connector's registration ID. The registration ID is obtained from the initial call to the FrameworkWebServiceProxy.Setup method.
  • dataChangeFlags
    Specifies which bookmarks to modify.
  • time
    The bookmark's new date and time value.

Return Value

Remarks

A separate bookmark exists for each DataChanges type the connector is monitoring. Each type corresponds to a separate DataTable object in the DataSet returned by the GetData method. If the bookmarks for each type require different time values, you must call the SetBookmark method more than once using different argument values.

All data older than the bookmark's new date is automatically marked as acknowledged and cleared from the connector's MCF cache.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Connector.V2

Assembly: MomConnectorFrameworkV2 (in MomConnectorFrameworkV2.dll)

See Also

FrameworkWebServiceProxy Class | FrameworkWebServiceProxy Members | Working with Date and Time Values in the MCF