Share via


CreateProfile Method

Creates a new profile definitions in a catalog.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Sub CreateProfile ( _
    ByRef xmlDoc As DOMDocument _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim xmlDoc As DOMDocument

instance.CreateProfile(xmlDoc)
public void CreateProfile(
    ref DOMDocument xmlDoc
)
public:
void CreateProfile(
    DOMDocument^% xmlDoc
)
public function CreateProfile(
    xmlDoc : DOMDocument
)

Parameters

  • xmlDoc
    Type: DOMDocument%
    The XML DOMDocument objects that will contain the new profile.

Exceptions

Exception Condition
ERR_NOCONNECTION

The profile data store connection is not open.

ERR_XMLDOC_ISNULL

xmlDoc is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Creates the profile. This function will return an error if the specified catalog cannot be found.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace