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.


[Visual Basic .NET]
Public Property codename As String

public string codename {get; set;}

Property Value

The value of this property is a String type.


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.


Web Service: CrmService

See Also



© 2010 Microsoft Corporation. All rights reserved.