ProfileContext Constructor (String, String, String, DebugContext) (BCL)
Use this method to create a new instance of the ProfileContext class using the connection strings to the profile definitions store, the OLEDB Provider for Commerce Server, and the bizdata store.
Definition
[Visual Basic .NET]
Public Sub New( _ByValprofilesvcConnstr As System.String, _
ByValproviderConnstr As System.String, _
ByValbdaoConnstr As System.String, _
ByValdbgContext As DebugContext _
)
[C#]
public ProfileContext(System.StringprofilesvcConnstr,
System.StringproviderConnstr,
System.StringbdaoConnstr,
DebugContextdbgContext);
Parameters
[Visual Basic .NET]
- profilesvcConnstr
The connection string to the profile definitions store. - providerConnstr
The connection string for the OLEDB Provider for Commerce Server. - bdaoConnstr
The connection string for the bizdata store. - dbgContext
The DebugContext object.
[C#]
- profilesvcConnstr
The connection string to the profile definitions store. - providerConnstr
The connection string for the OLEDB Provider for Commerce Server. - bdaoConnstr
The connection string for the bizdata store. - dbgContext
The DebugContext object.
Remarks
Throws an ArgumentNullException if any of the parameters are missing.
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
See Also
Code to Create and Set Profile Properties
Code to Retrieve and Display Profile Properties
Code to Use the SiteTerm Class
Copyright © 2005 Microsoft Corporation.
All rights reserved.