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  //receives the system change number.

);

 

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
ERROR_SUCCESS 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.