Delen via


Create Method (String)

Creates a new instance of the ProfileManagementContext class using the specified Profiles Web Service URL.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    serviceUrl As String _
) As ProfileManagementContext
'Usage
Dim serviceUrl As String
Dim returnValue As ProfileManagementContext

returnValue = ProfileManagementContext.Create(serviceUrl)
public static ProfileManagementContext Create(
    string serviceUrl
)
public:
static ProfileManagementContext^ Create(
    String^ serviceUrl
)
public static function Create(
    serviceUrl : String
) : ProfileManagementContext

Parameters

Return Value

Type: Microsoft.CommerceServer.Profiles..::.ProfileManagementContext
A new instance of the ProfileManagementContext class.

Remarks

Initializes a new instance of the ProfileManagementContext class for Agent mode using the Web service of the specified serviceUrl.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Create Overload

Microsoft.CommerceServer.Profiles Namespace