IndustryCode Class

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

Represents a code for one of the industries, like Aviation or Food.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class IndustryCode _
    Inherits MarketingServices
'Usage
Dim instance As IndustryCode
[ComVisibleAttribute(false)]
public sealed class IndustryCode : MarketingServices
[ComVisibleAttribute(false)]
public ref class IndustryCode sealed : public MarketingServices
public final class IndustryCode extends MarketingServices

Remarks

Stores the code for the type of industry represented by the object. This class cannot be publicly created. It is created using the GetIndustryCode method on the IndustryCodeManager.

Industry codes provide a definition type for different industries such as automotive, aviation, and beverage. You use industry codes to identify the associated industry of an advertisement, thereby preventing two ads from competing companies in the same industry from appearing on the same Web page.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Marketing..::.MarketingServices
    Microsoft.CommerceServer.Marketing..::.IndustryCode

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

IndustryCode Members

Microsoft.CommerceServer.Marketing Namespace