CrmServiceClient.DeleteEntity Method (String, Guid, Guid)
Applies To: Dynamics CRM 2015
Deletes an entity from the CRM
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public bool DeleteEntity(
string entityType,
Guid entityId,
Guid batchId = null
)
public:
bool DeleteEntity(
String^ entityType,
Guid entityId,
Guid batchId = null
)
member DeleteEntity :
entityType:string *
entityId:Guid *
batchId:Guid = null -> bool
Public Function DeleteEntity (
entityType As String,
entityId As Guid,
batchId As Guid
) As Boolean
Parameters
entityType
Type: System.Stringentity type name
entityId
Type: System.Guidentity id
batchId
Type: System.GuidOptional : Batch ID to attach this request too.
Return Value
Type: System.Boolean
true on success, false on failure
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright