Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProfileSystem Property

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.

© 2015 Microsoft