Newer Version Available
LeadConvertResult Class
Namespace
Usage
An array of LeadConvertResult objects is returned with the convertLead Database method. Each element in the LeadConvertResult array corresponds to the sObject array passed as the SObject[] parameter in the convertLead Database method, that is, the first element in the LeadConvertResult array matches the first element passed in the SObject array, the second element corresponds to the second element, and so on. If only one sObject is passed in, the LeadConvertResult array contains a single element.
LeadConvertResult Methods
The following are methods for LeadConvertResult. All are instance methods.
getAccountId()
Signature
public ID getAccountId()
Return Value
Type: ID
getContactId()
Signature
public ID getContactId()
Return Value
Type: ID
getErrors()
Signature
public Database.Error[] getErrors()
Return Value
Type: Database.Error[]
getOpportunityId()
Signature
public ID getOpportunityId()
Return Value
Type: ID
isSuccess()
Signature
public Boolean isSuccess()
Return Value
Type: Boolean