CrmServiceClient.DeleteEntity(String, Guid, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes an entity from the CRM
public bool DeleteEntity (string entityType, Guid entityId, Guid batchId = default);
member this.DeleteEntity : string * Guid * Guid -> bool
Public Function DeleteEntity (entityType As String, entityId As Guid, Optional batchId As Guid = Nothing) As Boolean
Parameters
- entityType
- String
entity type name
- entityId
- Guid
entity id
- batchId
- Guid
Optional : Batch ID to attach this request too.
Returns
true on success, false on failure