Partager via


ProfilesServiceAgent Constructor (String)

Initializes a new instance of the ProfilesServiceAgent class to run against the specified Profiles Web Service.

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

Syntax

'Declaration
Public Sub New ( _
    serviceUrl As String _
)
'Usage
Dim serviceUrl As String

Dim instance As New ProfilesServiceAgent(serviceUrl)
public ProfilesServiceAgent(
    string serviceUrl
)
public:
ProfilesServiceAgent(
    String^ serviceUrl
)
public function ProfilesServiceAgent(
    serviceUrl : String
)

Parameters

  • serviceUrl
    Type: System..::.String
    The URL of the Web service this agent will run against.

Remarks

The ProfilesServiceAgent will use the DefaultAuthModes to connect, and will not prompt on failure.

Permissions

See Also

Reference

ProfilesServiceAgent Class

ProfilesServiceAgent Members

ProfilesServiceAgent Overload

Microsoft.CommerceServer.Profiles Namespace