HasChanges Property

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

Gets a value indicating whether the current Campaign 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 Campaign
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 Campaign has unsaved changes; otherwise, false.

Remarks

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

Permissions

See Also

Reference

Campaign Class

Campaign Members

Microsoft.CommerceServer.Marketing Namespace