IMsmError::get_ModuleKeys method (mergemod.h)

The get_ModuleKeys method retrieves the ModuleKeys property of the Error object. This method returns a pointer to a string collection that contains the primary keys of the row in the module causing the error, one key per entry in the collection.

Syntax

HRESULT get_ModuleKeys(
  [out] IMsmStrings **ErrorKeys
);

Parameters

[out] ErrorKeys

A pointer to a location in memory that receives a pointer to a string collection.

Return value

This method can return one of these values.

Value Meaning
E_INVALIDARG
ErrorKeys is null.
S_OK
The function succeeded.

Remarks

The client is responsible for releasing the string collection when it is no longer required.

The collection is empty if the values do not apply to the type of the error. You can determine the type of error by calling IMsmError::get_Type.

Requirements

Requirement Value
Minimum supported client Mergemod.dll 1.0 or later
Target Platform Windows
Header mergemod.h
DLL Mergemod.dll

See also

Merge Module Automation