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 Sub Connect ( _
ByRef connectString As String, _
ByRef userName As String, _
ByRef password As String _
)
'Usage
Dim instance As BusinessDataAdmin2FreeThreaded
Dim connectString As String
Dim userName As String
Dim password As String
instance.Connect(connectString, userName, _
password)
public void Connect(
ref string connectString,
ref string userName,
ref string password
)
public:
void Connect(
String^% connectString,
String^% userName,
String^% password
)
public function Connect(
connectString : String,
userName : String,
password : String
)
Parameters
- connectString
Type: System..::.String%
Contains the connection string.
- userName
Type: System..::.String%
Contains the user name.
- password
Type: System..::.String%
Contains the password. The default value is "".
Remarks
This method must be called prior to calling either the ExportCatalogs, ImportCatalogs, or GetSiteTerms method.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BusinessDataAdmin2FreeThreaded Class