EnforceConstraints Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets a value indicating whether constraint rules are followed when attempting any update operation.

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

Syntax

'Declaration
Public Property EnforceConstraints As Boolean
'Usage
Dim instance As ShippingRatesDataSet
Dim value As Boolean

value = instance.EnforceConstraints

instance.EnforceConstraints = value
public bool EnforceConstraints { get; set; }
public:
property bool EnforceConstraints {
    bool get ();
    void set (bool value);
}
public function get EnforceConstraints () : boolean
public function set EnforceConstraints (value : boolean)

Property Value

Type: System..::.Boolean
true to enforce rules; Otherwise false.

Remarks

Constraints on the ShippingRatesDataSet are not enforced unless the EnforceConstraints property is true.

Permissions

See Also

Reference

ShippingRatesDataSet Class

ShippingRatesDataSet Members

Microsoft.CommerceServer.Orders Namespace