IMsmError::get_ModuleTable method (mergemod.h)

The get_ModuleTable method retrieves the ModuleTable property of the Error object. This method returns the name of the table in the module that caused the error.

Syntax

HRESULT get_ModuleTable(
  [out] BSTR *ErrorTable
);

Parameters

[out] ErrorTable

A pointer to a location in memory that is filled in with a BSTR value.

Return value

This method can return one of these values.

Value Meaning
E_INVALIDARG
Table is null.
E_OUTOFMEMORY
The system was unable to allocate memory for the string.
S_OK
The function succeeded.

Remarks

The client is responsible for freeing the resulting string using SysFreeString.

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