Partager via


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)

Syntax

'Declaration
Public Property ProfileSystem As ProfileContext
'Usage
Dim instance As CommerceContext
Dim value As ProfileContext

value = instance.ProfileSystem

instance.ProfileSystem = value
public ProfileContext ProfileSystem { get; set; }
public:
property ProfileContext^ ProfileSystem {
    ProfileContext^ get ();
    void set (ProfileContext^ value);
}
public function get ProfileSystem () : ProfileContext
public function set ProfileSystem (value : ProfileContext)

Property Value

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

Remarks

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.

Permissions

See Also

Reference

CommerceContext Class

CommerceContext Members

Microsoft.CommerceServer.Runtime Namespace