Jaa


Connect Method

Use this method to connect the object to the profile data store.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Function Connect ( _
    ByRef connectString As String, _
    ByRef userName As String, _
    ByRef password As String _
) As Connection
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim connectString As String
Dim userName As String
Dim password As String
Dim returnValue As Connection

returnValue = instance.Connect(connectString, _
    userName, password)
public Connection Connect(
    ref string connectString,
    ref string userName,
    ref string password
)
public:
Connection^ Connect(
    String^% connectString, 
    String^% userName, 
    String^% password
)
public function Connect(
    connectString : String, 
    userName : String, 
    password : String
) : Connection

Parameters

Return Value

Type: Connection
A Connection object containing the connection to the profile data store.

Remarks

This method must be called prior to calling either the ExportCatalogs, ImportCatalogs, or GetSiteTerms method.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace