Partager via


CreateProfile Method

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

Create a new Profile object instance.

Overload List

  Name Description
Aa530630.pubmethod(en-US,CS.70).gif CreateProfile(Int32, String) Use this method to create a new Profile object instance with the specified primary key value (as an integer) and profile definition.
Aa530630.pubmethod(en-US,CS.70).gif CreateProfile(String, String) Use this method to create a new Profile object instance with the specified primary key value (as a string) and profile definition.
Aa530630.pubmethod(en-US,CS.70).gif CreateProfile(String, String, String, ProfileXmlFormat) Use this method to create a new Profile object instance with the specified primary key value (as a string), profile definition, XML string describing the initial state of the profile object, and the XML format type.

Top

See Also

Reference

ProfileContext Class

ProfileContext Members

Microsoft.CommerceServer.Runtime.Profiles Namespace