CampaignName Property

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

Gets the name of the containing campaign.

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

Syntax

'Declaration
Public ReadOnly Property CampaignName As String
'Usage
Dim instance As CampaignItem
Dim value As String

value = instance.CampaignName
public string CampaignName { get; }
public:
property String^ CampaignName {
    String^ get ();
}
public function get CampaignName () : String

Property Value

Type: System..::.String
The name of the campaign that contains the current CampaignItem.

Remarks

Returns the name of the containing campaign. This property, under certain circumstances, may not be accurate. If the CampaignId property is modified, the CampaignName property will not contain the name of the campaign with the updated Id. The CampaignName property will not be updated until the campaign is saved.

Permissions

See Also

Reference

CampaignItem Class

CampaignItem Members

Microsoft.CommerceServer.Marketing Namespace