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.
- authorizationMode
Type: Microsoft.CommerceServer..::.AuthorizationMode
One of AuthorizationMode values which determines the source of identity information.
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
- 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.