HasChanges Property

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

Gets a value indicating whether the PromoCodeDefinition object has been modified since it was created or loaded from the web service.

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

Syntax

'Declaration
Public ReadOnly Property HasChanges As Boolean
'Usage
Dim instance As PromoCodeDefinition
Dim value As Boolean

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

Property Value

Type: System..::.Boolean
true to indicate that the current PromoCodeDefinition has unsaved changes: otherwise, false.

Remarks

When a PromoCodeDefinition has been modified, a dirtyFlag is set, indicating that the PromoCodeDefinition has changes and needs to be saved. Calling Save for a PromoCodeDefinition sets the HasChanges property to false.

Permissions

See Also

Reference

PromoCodeDefinition Class

PromoCodeDefinition Members

Microsoft.CommerceServer.Marketing Namespace