MarketingServiceAgent Constructor (String)
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 ( _
serviceUrl As String _
)
'Usage
Dim serviceUrl As String
Dim instance As New MarketingServiceAgent(serviceUrl)
public MarketingServiceAgent(
string serviceUrl
)
public:
MarketingServiceAgent(
String^ serviceUrl
)
public function MarketingServiceAgent(
serviceUrl : String
)
Parameters
- serviceUrl
Type: System..::.String
The URL of the Marketing Web service to access
Remarks
Initializes a new instance of the MarketingServiceAgent class for communicating with a specific Web service using the provided type of Web service proxy object.
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.