campaign.codename Property

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Gets or sets the unique code name that identifies the campaign.

Syntax

[Visual Basic .NET]
Public Property codename As String

[C#]
public string codename {get; set;}

Property Value

The value of this property is a String type.

Remarks

The code name property is assigned a value that combines the campaign prefix and the current campaign number. To avoid errors, your campaign prefix should be no longer than 14 characters.

The following table containsadditional information about this property:

Platform required No
Application requirement level1 No constraint
Valid for create Yes
Valid for retrieve Yes
Valid for update No
Max length1 32

1 – Customizable. Indicates the value for a default installation.

Requirements

Web Service: CrmService

See Also

Concepts

Reference

© 2010 Microsoft Corporation. All rights reserved.