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
- serviceUrl
Type: System..::.String
The full URL of the Profiles Web Service
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
- 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.
See Also
Reference
ProfileManagementContext Class