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
- profileXml
Type: System.Xml..::.XmlElement%
XML representing the profile instance to create.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.