Export (0) Print
Expand All

ProfileSystem Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the ProfileContext object used on the site.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

public ProfileContext ProfileSystem { get; set; }

Property Value

Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileContext
The default ProfileContext for use on the site.

A default ProfileContext is available only if the CommerceProfileModule is configured in the Web.config file. Always check this property for a non nullNothingnullptra null reference (Nothing in Visual Basic) value before referencing it.

© 2014 Microsoft