The IMSAdminBase::GetDataSetNumber method retrieves all the data set numbers associated with a key in the metabase. A data set number is a unique number identifying the data items at that key, including inherited data items. Keys with the same data set number have identical data.
HRESULT GetDataSetNumber(
METADATA_HANDLE hMDHandle, //metabase handle.
LPCWSTR pszMDPath, //path to the key, relative to hMDHandle.
DWORD *pdwMDDataSetNumber //receives the data set number associated with the key.
);
Returns an HRESULT that contains one of the following values:
Value | Description |
ERROR_INVALID_PARAMETER | The parameter is incorrect. |
ERROR_SUCCESS | The method succeeded. |