CRMLead Class
The CRMLead class contains methods that you can use to manage leads.
There are no properties for this class.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
CRMLead
[Visual Basic .NET]
Public Class CRMLead
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMLead : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMLead: public System.Web.Services.Protocols.SoapHttpClientProtocol
The CRMLead class exposes the following methods,
Method | Description |
Accept | Accepts a lead that is being reassigned. |
Assign | Assigns a lead to a new security principal (user or team). |
AssignPendingAcceptance | Assigns a lead to a new security principal (user or team) pending acceptance from the assignee. |
BulkRetrieve | Retrieves multiple leads by ID. |
Create | Creates a new lead. |
CreateAndRetrieve | Creates a new lead and then retrieves it. |
Disqualify | Sets the state of a lead to Disqualified. |
Delete | Deletes a lead. |
GrantAccess | Grants a user or team access to a lead. |
MakePrivate | Makes a lead private. |
MakePublic | Makes a lead public. |
ModifyAccess | Replaces the access rights on the lead for the specified security principal. |
Open | Sets the state of a lead to Open. |
Qualify | Sets the state of a lead to Qualified. |
Recall | Recalls a lead. |
Reject | Rejects a lead that is being reassigned. |
RemoveAssociation | Eliminates the association between a lead and an object (contact or account). |
Retrieve | Retrieves a lead by ID. |
RetrieveByObject | Retrieves all leads that are associated with the specified object (contact or account). |
RetrieveByPrincipal | Retrieves all of the leads that are owned by the specified security principal. |
RetrievePrincipalAccess | Retrieves the access the specified security principal has for a specific lead. |
RetrieveSharedPrincipals | Retrieves all of the security principals (users or teams) that have access to a lead. |
RetrieveSharedPrincipalsAndAccess | Retrieves all of the security principals (users or teams) that have access to a lead and their access rights for that lead. |
RevokeAccess | Revokes the access of a user or team to a lead. |
SetAssociation | Establishes an association between an object (contact or account) and a lead. |
Update | Updates an existing lead. |
UpdateAndRetrieve | Updates an existing lead and then retrieves it. |
Requirements
Namespace: Microsoft.Crm.Platform.Proxy
Assembly: Microsoft.Crm.Platform.Proxy.dll
See Also