Lead Class

 

Applies To: Dynamics Marketing

Represents a lead in Microsoft Dynamics Marketing.

Namespace:   Microsoft.Dynamics.Marketing.SDK.Model
Assembly:  Microsoft.Dynamics.Marketing.SDK (in Microsoft.Dynamics.Marketing.SDK.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Marketing.SDK.Model.Lead

Syntax

[KnownTypeAttribute(typeof(Category))]
[DataContractAttribute]
public class Lead
[KnownTypeAttribute((Category^::typeid))]
[DataContractAttribute]
public ref class Lead 
[<KnownTypeAttribute(typeof(Category))>]
[<DataContractAttribute>]
type Lead = class end
<KnownTypeAttribute(GetType(Category))>
<DataContractAttribute>
Public Class Lead

Constructors

Name Description
System_CAPS_pubmethod Lead()

Initializes a new instance of theLead class.

Properties

Name Description
System_CAPS_pubproperty BelongsToCompany

Gets or sets the company that the user belongs to.

System_CAPS_pubproperty Campaign

Gets or sets the lead’s campaign.

System_CAPS_pubproperty Company

Gets or sets the lead’s company.

System_CAPS_pubproperty Contact

Gets or sets the lead’s contact.

System_CAPS_pubproperty CustomFields

Gets or sets the lead’s custom fields.

System_CAPS_pubproperty Date

Gets or sets the lead’s date.

System_CAPS_pubproperty DueDate

Gets or sets the lead’s due date.

System_CAPS_pubproperty Id

Gets or sets the lead’s ID.

System_CAPS_pubproperty Name

Gets or sets the lead’s name.

System_CAPS_pubproperty OriginOfChanges

Gets or sets a value that indicates where the changes to the lead came from.

System_CAPS_pubproperty Priority

Gets or sets the lead’s priority.

System_CAPS_pubproperty Program

Gets or sets the lead’s program.

System_CAPS_pubproperty SalesRating

Gets or sets the lead’s sales rating.

System_CAPS_pubproperty SalesReady

Gets or sets a value indicating whether the lead is sales-ready.

System_CAPS_pubproperty Score

Gets or sets the lead’s score.

System_CAPS_pubproperty Status

Gets or sets the lead’s status.

System_CAPS_pubproperty Territory

Gets or sets the lead’s territory.

System_CAPS_pubproperty UpdateDate

Gets or sets the lead’s last update date.

System_CAPS_pubproperty Version

Gets or sets the lead’s version.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.Dynamics.Marketing.SDK.Model
Developer overview of Microsoft Dynamics Marketing
Manage leads, contacts, and company
Getting started with the SDK
Quick start with sample code
Sample: Create, read, update, and delete lead (including UDF custom fields)
Assembly included in the Microsoft Dynamics Marketing SDK
Web service and assembly reference

Return to top