ProfileContext Constructor (String, DebugContext) (BCL)
Use this method to create a new instance of the ProfileContext class using the connection string to the profile definitions store.
Definition
[Visual Basic .NET]
Public Sub New( _ByValprofilesvcConnstr As System.String, _
ByValdbgContext As DebugContext _
)
[C#]
public ProfileContext(System.StringprofilesvcConnstr,
DebugContextdbgContext);
Parameters
[Visual Basic .NET]
- profilesvcConnstr
The connection string to the profile definitions store. - dbgContext
The DebugContext object.
[C#]
- profilesvcConnstr
The connection string to the profile definitions store. - dbgContext
The DebugContext object.
Remarks
Throws an ArgumentNullException if any of the parameters are missing.
When this form of the constructor is used, the CommerceOleDbProvider property is not available for use. Additionally, the profiles catalog is defaulted to "Profile Definitions", the default profiles catalog in Commerce Server.
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.