IMsmError::get_DatabaseTable Method

Windows Installer

IMsmError::get_DatabaseTable Method

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

C++HRESULT get_DatabaseTable(
  [out]  BSTR *Table
);

Parameters

Table [out]

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

Return Value

The method can return one of the following 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

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmError is defined as 0ADDA828-2C26-11D2-AD65-00A0C9AF11A6

See Also

Merge Module Automation

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.