Partager via


AddDiscountPriority Method (DiscountPrioritySet.DiscountPriority)

Adds the specified DiscountPrioritySet..::.DiscountPriority DataRow to the table.

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

Syntax

'Declaration
Public Sub AddDiscountPriority ( _
    row As DiscountPrioritySet..::.DiscountPriority _
)
'Usage
Dim instance As DiscountPrioritySet..::.DiscountPrioritiesDataTable
Dim row As DiscountPrioritySet..::.DiscountPriority

instance.AddDiscountPriority(row)
public void AddDiscountPriority(
    DiscountPrioritySet..::.DiscountPriority row
)
public:
void AddDiscountPriority(
    DiscountPrioritySet..::.DiscountPriority^ row
)
public function AddDiscountPriority(
    row : DiscountPrioritySet..::.DiscountPriority
)

Parameters

Remarks

The DiscountPrioritySet object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

DiscountPrioritySet..::.DiscountPrioritiesDataTable Class

DiscountPrioritySet..::.DiscountPrioritiesDataTable Members

AddDiscountPriority Overload

Microsoft.CommerceServer.Marketing Namespace