Delen via


Create Method (ProfilesServiceAgent)

Creates a new instance of the ProfileManagementContext class using the specified ProfilesServiceAgent.

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

Syntax

'Declaration
Public Shared Function Create ( _
    agent As ProfilesServiceAgent _
) As ProfileManagementContext
'Usage
Dim agent As ProfilesServiceAgent
Dim returnValue As ProfileManagementContext

returnValue = ProfileManagementContext.Create(agent)
public static ProfileManagementContext Create(
    ProfilesServiceAgent agent
)
public:
static ProfileManagementContext^ Create(
    ProfilesServiceAgent^ agent
)
public static function Create(
    agent : ProfilesServiceAgent
) : 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 specified profiles web service.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Create Overload

Microsoft.CommerceServer.Profiles Namespace