IRecipeExchange::connect

Method Signatures

 

C\C++

HRESULT Connect()

VB

Public Sub Connect()

This method must be called before any of the other methods on this interface can succeed. The user also needs to call the CoInitializeSecurity before calling the Connect method. Please see the sample code (located in the \DeltaV\samples\RecipeExchange\REClient directory) on how to call the CoInitializeSecurity method. It actually connects the control to the Recipe Exchange.

Return Values

S_OK - SUCCESS

E_INSUFFICIENT_LICENSE - Insufficient License.

E_INSUFFICIENT_USER_PRIVILEGE - Insufficient Privilege.

E_CONNECT_FAILED - Connect Failed.

else - failed

Memory Allocation

none

Parameter Name

Purpose

none