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
- row
Type: Microsoft.CommerceServer.Marketing..::.DiscountPrioritySet..::.DiscountPriority
The DiscountPrioritySet..::.DiscountPriority to add.
Remarks
The DiscountPrioritySet object must be saved before these changes will be persisted to the database.
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