EventTypeName Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the Id of the event type of the current Campaign.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property EventTypeName As String
'Usage
Dim instance As Campaign
Dim value As String
value = instance.EventTypeName
instance.EventTypeName = value
public string EventTypeName { get; set; }
public:
property String^ EventTypeName {
String^ get ();
void set (String^ value);
}
public function get EventTypeName () : String
public function set EventTypeName (value : String)
Property Value
Type: System..::.String
The id of the event type of the current instance. The default value is an empty string.
Exceptions
Exception | Condition |
---|---|
MinimumValueValidationException | An attempt was made to set the event type id to a negative value. |
Remarks
The returned string represents the name of the event type used for this campaign’s goaling. Event Type determines whether campaign is for clicks or for views (or other custom types that are added by the user).
The default value is an empty string, but it must be set by the time of saving the campaign.
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.