CreateProfile Method

Creates a new profile instance in the profile system.

Namespace:  Microsoft.CommerceServer.Profiles.WebService
Assembly:  Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function CreateProfile ( _
    ByRef profileXml As XmlElement, _
    inAdapterContext As Boolean _
) As ProfileOperationResponse
'Usage
Dim instance As ProfilesWebService
Dim profileXml As XmlElement
Dim inAdapterContext As Boolean
Dim returnValue As ProfileOperationResponse

returnValue = instance.CreateProfile(profileXml, _
    inAdapterContext)
[WebMethodAttribute]
public virtual ProfileOperationResponse CreateProfile(
    ref XmlElement profileXml,
    bool inAdapterContext
)
[WebMethodAttribute]
public:
virtual ProfileOperationResponse^ CreateProfile(
    XmlElement^% profileXml, 
    bool inAdapterContext
)
public function CreateProfile(
    profileXml : XmlElement, 
    inAdapterContext : boolean
) : ProfileOperationResponse

Parameters

  • inAdapterContext
    Type: System..::.Boolean
    Indicates whether the call is coming from the adapter.

Return Value

Type: Microsoft.CommerceServer.Profiles..::.ProfileOperationResponse
An object describing the profile that was created.

Remarks

This API will create a new profile instance in the profile system. Not all properties need to be supplied in the profileXml.

Permissions

See Also

Reference

ProfilesWebService Class

ProfilesWebService Members

Microsoft.CommerceServer.Profiles.WebService Namespace