Udostępnij za pośrednictwem


Industry Property

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

Gets or sets the Industry Code of the current Advertisement object.

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

Syntax

'Declaration
Public Property Industry As String
'Usage
Dim instance As Advertisement
Dim value As String

value = instance.Industry

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

Property Value

Type: System..::.String
The IndustryCode of the current instance.

Remarks

A value that indicates the industry code for this customer. The value may not exceed 50 characters. Leading and trailing whitespace is removed. Default value is nullNothingnullptra null reference (Nothing in Visual Basic). The IndustryCode represents a code for an industry, like Aviation or Food.

The industry codes enable you to identify the associated industry for an ad, thus preventing two ads from competing advertisers in the same industry from appearing on the same page.

Permissions

See Also

Reference

Advertisement Class

Advertisement Members

Microsoft.CommerceServer.Marketing Namespace