Description Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the description of the CampaignEventType.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property Description As String
'Usage
Dim instance As CampaignEventType
Dim value As String
value = instance.Description
instance.Description = value
public string Description { get; set; }
public:
property String^ Description {
String^ get ();
void set (String^ value);
}
public function get Description () : String
public function set Description (value : String)
Property Value
Type: System..::.String
The description of the current instance. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
Exceptions
Exception | Condition |
---|---|
PropertyNullValidationException | An attempt was made to set the name to nullNothingnullptra null reference (Nothing in Visual Basic). |
StringLengthValidationException | An attempt was made to set the name to a string that was too long or to an empty string. |
Remarks
The Description has maximum length is 100 characters. When setting this property, leading and/or trailing whitespace is removed.
This is the description of the Campaign event type.
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.