Partager via


Advertisement Class

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

Defines a single advertisement within a campaign.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Class Advertisement _
    Inherits DisplayableCampaignItem
'Usage
Dim instance As Advertisement
[ComVisibleAttribute(false)]
public class Advertisement : DisplayableCampaignItem
[ComVisibleAttribute(false)]
public ref class Advertisement : public DisplayableCampaignItem
public class Advertisement extends DisplayableCampaignItem

Remarks

The Advertisement class defines details of an Advertisement. An Advertisement object contains information such as the Industry, Advertisement Type, Days of the Week to Run, Times of the Day to Run, number of events scheduled, etc. The base type of a discount is the DisplayableCampaignItem class.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Marketing..::.MarketingServices
    Microsoft.CommerceServer.Marketing..::.CampaignItem
      Microsoft.CommerceServer.Marketing..::.DisplayableCampaignItem
        Microsoft.CommerceServer.Marketing..::.Advertisement

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Advertisement Members

Microsoft.CommerceServer.Marketing Namespace