Share via


Active Property

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

Gets or sets a value that indicates whether the campaign item is currently active.

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

Syntax

'Declaration
Public ReadOnly Property Active As Boolean
'Usage
Dim instance As CampaignItem
Dim value As Boolean

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

Property Value

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

Remarks

Stores a value that indicates whether the campaign item is currently active. An inactive campaign item is one that will not be loaded or executed by the runtime.

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

Permissions

See Also

Reference

CampaignItem Class

CampaignItem Members

Microsoft.CommerceServer.Marketing Namespace