Jaa


Active Property

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

Gets or sets a value indicating whether or not the current campaign is currently active.

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

Syntax

'Declaration
Public Property Active As Boolean
'Usage
Dim instance As Campaign
Dim value As Boolean

value = instance.Active

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

Property Value

Type: System..::.Boolean
true if the current campaign object is currently active; otherwise, false. The default is false.

Remarks

If a campaign is not active, then none of the current campaign items in the campaign is active on the "live" site, regardless of their individual Active settings.

Permissions

See Also

Reference

Campaign Class

Campaign Members

Microsoft.CommerceServer.Marketing Namespace