Share via


MarketingServiceAgent Constructor (Uri)

Initializes a MarketingServiceAgent object to run against the specified Marketing Web service.

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

Syntax

'Declaration
Public Sub New ( _
    serviceUri As Uri _
)
'Usage
Dim serviceUri As Uri

Dim instance As New MarketingServiceAgent(serviceUri)
public MarketingServiceAgent(
    Uri serviceUri
)
public:
MarketingServiceAgent(
    Uri^ serviceUri
)
public function MarketingServiceAgent(
    serviceUri : Uri
)

Parameters

  • serviceUri
    Type: System..::.Uri
    The Uri used to locate the Web service this agent will run against.

Remarks

The returned MarketingServiceAgent will not prompt on authentication failure.

Permissions

See Also

Reference

MarketingServiceAgent Class

MarketingServiceAgent Members

MarketingServiceAgent Overload

Microsoft.CommerceServer.Marketing Namespace