CampaignId Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the unique identifier of the containing campaign.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property CampaignId As Integer
'Usage
Dim instance As CampaignItem
Dim value As Integer
value = instance.CampaignId
instance.CampaignId = value
public int CampaignId { get; set; }
public:
property int CampaignId {
int get ();
void set (int value);
}
public function get CampaignId () : int
public function set CampaignId (value : int)
Property Value
Type: System..::.Int32
The id of the campaign that contains the current instance.
Remarks
Stores the Id of the campaign that this campaign item belongs to. The CampaignId is a unique identifier to the Campaign that contains this CampaignItem.
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.