Partager via


MarketingServices Constructor (String, String, AuthorizationMode)

Initializes a new instance of the MarketingServices class to interact with the Marketing Web service in Database mode and using the specified authorization policy configuration for management of authorization credentials.

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

Syntax

'Declaration
Protected Sub New ( _
    siteName As String, _
    authorizationPolicyFullPath As String, _
    authorizationMode As AuthorizationMode _
)
'Usage
Dim siteName As String
Dim authorizationPolicyFullPath As String
Dim authorizationMode As AuthorizationMode

Dim instance As New MarketingServices(siteName, _
    authorizationPolicyFullPath, authorizationMode)
protected MarketingServices(
    string siteName,
    string authorizationPolicyFullPath,
    AuthorizationMode authorizationMode
)
protected:
MarketingServices(
    String^ siteName, 
    String^ authorizationPolicyFullPath, 
    AuthorizationMode authorizationMode
)
protected function MarketingServices(
    siteName : String, 
    authorizationPolicyFullPath : String, 
    authorizationMode : AuthorizationMode
)

Parameters

  • siteName
    Type: System..::.String
    The name of Commerce Server site which the current instance represents.
  • authorizationPolicyFullPath
    Type: System..::.String
    The path to authorization policy XML file.

Remarks

Creates a new instance of the MarketingServices class to interact with the Marketing Web service in Database mode and using the specified authorization policy configuration for management of authorization credentials.

Permissions

See Also

Reference

MarketingServices Class

MarketingServices Members

MarketingServices Overload

Microsoft.CommerceServer.Marketing Namespace