The Connect method connects a module that has been, or will be, merged into the database to an additional feature. For more information, see the Connect method of the Merge object.
IMsmMerge2::Connect Mergemod.dll version 2.0 or later.
IMsmMerge::Connect All Mergemod.dll versions.
Syntax
C++HRESULT Connect(
[in] BSTR Feature
);
Parameters
- Feature [in]
-
The name of a feature in the database. A LPCWSTR may be used in place of a BSTR.
Return Value
The method can return one of the following values.
Value | Meaning |
---|---|
|
One of the arguments is invalid. |
|
The connect failed. |
|
The function succeeded. |
Remarks
The feature must exist before this function is called. Errors may be retrieved using get_Errors. Errors and informational messages are posted to the current log file.
Changes made to the database are not be saved to disk unless CloseDatabase function is called with bCommit set to TRUE.
Requirements
Version | Mergemod.dll 1.0 or later |
---|---|
Header | Mergemod.h |
DLL | Mergemod.dll |
IID | IID_IMsmMerge is defined as 0ADDA82E-2C26-11D2-AD65-00A0C9AF11A6 |
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.