Go back to MB2-228 - Microsoft CRM 1.2 Extending Microsoft CRM with .NET

Question :-

Bob would like to provide the ability to convert a lead to an account via a custom web application. The conversion must use the Lead Mappings defined in Schema Manager. Which of the following methods can be used to enable this functionality?
Use CRMLead.Convert() With the parameters: - CuserAuth - LeadId - Microsoft.Crm.Platform.Types.ObjectType.otAccount to convert the specified lead into an Account.
Use CRMCustomizations.GetMapping(otLead, otAccount) to access the mappings specified for the Lead entity in Schema Manager. Create a new Account, and update the account with the source fields retrieved from the originating lead as specified by the mappings
Create a new Account. Call CRMAccount.Create(), and capture the new account id. Set originatingleadid property to the lead being converted. Call CRMAccount.SetPrimaryLead() with the parameters: - CuserAuth - LeadId where LeadId is the ID of original lead being converted. This action will automatically convert the originating lead to this account and transform according to the mappings provided.
Use CRMCustomizations class to transform the lead to an account as follows: Call CRMCustomization.Transform () with the parameters: - CUserAuth, - CObjName, - Microsoft.Crm.Platform.Types.ObjectType.otAccount - Microsoft.Crm.Platform.Types.TRANSFORM_TARGET_FIELD_ TYPE.TFT_VALID_FOR_CREATE where CObjName contains data about the Lead Object

Want to practice for MB2-228 - Microsoft CRM 1.2 Extending Microsoft CRM with .NET ? Click here.