EndDate Property

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

Gets or sets the date and time, in the local time zone, that the current campaign is set to end.

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

Syntax

'Declaration
Public Property EndDate As DateTime
'Usage
Dim instance As Campaign
Dim value As DateTime

value = instance.EndDate

instance.EndDate = value
public DateTime EndDate { get; set; }
public:
property DateTime EndDate {
    DateTime get ();
    void set (DateTime value);
}
public function get EndDate () : DateTime
public function set EndDate (value : DateTime)

Property Value

Type: System..::.DateTime
A System.DateTime representing the current campaign end date in the local time zone.

Remarks

The date when the Campaign is discontinued. EndDate must occur after StartDate. EndDate is set only as a default for newly created campaign items.

Permissions

See Also

Reference

Campaign Class

Campaign Members

Microsoft.CommerceServer.Marketing Namespace