Share via


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

See Also

Reference

DiscountPrioritySet..::.DiscountPrioritiesDataTable Class

DiscountPrioritySet..::.DiscountPrioritiesDataTable Members

Microsoft.CommerceServer.Marketing Namespace