BusinessDataAdmin2FreeThreaded.Connect Method (PIA)

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

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Profiles
…
Public Sub Connect(connectString As String,
  UserName As String,
  Pwd As String,
) 

[C#]

using Microsoft.CommerceServer.Interop.Profiles;
…
public void FunctionName(stringconnectString,
  stringUserName,stringPwd);

Parameters

[Visual Basic .NET]

  • connectString
    A String that contains the connection string.
  • UserName
    A String that contains the connection string.
  • Pwd
    A String that contains the password. The default value is "".

[C#]

  • connectString
    A string that contains the connection string.
  • UserName
    A string that contains the connection string.
  • Pwd
    A string that contains the password. The default value is "".

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

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

Requirements

Namespace: Microsoft.CommerceServer.Interop.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: bizdataadmin (in bizdadaadmin.dll)

See Also

BusinessDataAdmin2FreeThreaded Class

BusinessDataAdmin2FreeThreaded Methods

Copyright © 2005 Microsoft Corporation.
All rights reserved.