NewDiscountPriority Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Constructs a new DiscountPrioritySet..::.DiscountPriority class initialized with default values.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Function NewDiscountPriority As DiscountPrioritySet..::.DiscountPriority
'Usage
Dim instance As DiscountPrioritySet..::.DiscountPrioritiesDataTable
Dim returnValue As DiscountPrioritySet..::.DiscountPriority
returnValue = instance.NewDiscountPriority()
public DiscountPrioritySet..::.DiscountPriority NewDiscountPriority()
public:
DiscountPrioritySet..::.DiscountPriority^ NewDiscountPriority()
public function NewDiscountPriority() : DiscountPrioritySet..::.DiscountPriority
Return Value
Type: Microsoft.CommerceServer.Marketing..::.DiscountPrioritySet..::.DiscountPriority
A new DiscountPrioritySet..::.DiscountPriority.
Remarks
Returns the newly created DiscountPriority.
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.
See Also
Reference
DiscountPrioritySet..::.DiscountPrioritiesDataTable Class