Partager via


IMSAdminBase::GetSystemChangeNumber

The IMSAdminBase::GetSystemChangeNumber method retrieves the number of changes made to data since the metabase was created. This value is saved to long-term storage between metabase sessions.

HRESULT GetSystemChangeNumber(
      DWORD* pdwSystemChangeNumber
);

Parameters

  • pdwSystemChangeNumber
    Points to a DWORD that receives the system change number. This number is incremented each time the metabase is updated.

Return Values

Returns an HRESULT that contains the following value:

Value

Description

S_OK

The method succeeded.

Remarks

You can compare the value retrieved by this method to the system change number of a handle to see whether changes have been made to the metabase since the handle was opened.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in iadmw.h; include iiscnfg.h.