Share via


RemoveDiscountPriority Method

Removes the specified DiscountPrioritySet..::.DiscountPriority from the DiscountPrioritiesDataTable.

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

Syntax

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

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

Parameters

Remarks

Removes the specified Microsoft.CommerceServer.Marketing.DiscountPrioritySet.DiscountPriority from the collection.

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

Permissions

See Also

Reference

DiscountPrioritySet..::.DiscountPrioritiesDataTable Class

DiscountPrioritySet..::.DiscountPrioritiesDataTable Members

Microsoft.CommerceServer.Marketing Namespace