Type Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the Type of the current Advertisement object.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property Type As AdvertisementType
'Usage
Dim instance As Advertisement
Dim value As AdvertisementType
value = instance.Type
instance.Type = value
public AdvertisementType Type { get; set; }
public:
property AdvertisementType Type {
AdvertisementType get ();
void set (AdvertisementType value);
}
public function get Type () : AdvertisementType
public function set Type (value : AdvertisementType)
Property Value
Type: Microsoft.CommerceServer.Marketing..::.AdvertisementType
The Type of the current instance: Paid Ad or House Ad. Default AdvertisementType is House.
Remarks
Specifies different types of Advertisement. The AdvertisementType is either Paid or House.
A House Ad is an ad that is served when paid ads are ahead of their Need of Delivery schedule.
A Paid Ad is an advertisement that is served with specific delivery goals. The determination to serve an ad at a given time is based on a Need of Delivery calculation.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.