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
);
Returns an HRESULT that contains one of the following values:
ERROR_SUCCESS | The method succeeded. |
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.