IMsmError::get_DatabaseTable method (mergemod.h)

The get_DatabaseTable method retrieves the DatabaseTable property of the Error object. The method returns the name of the table in the database that caused the error.

Syntax

HRESULT get_DatabaseTable(
  [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