CrmServiceClient.ExecuteCrmEntityDeleteRequest Method (String, Guid, String)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Executes a row level delete on a CRM entity ( thread safe ) and returns true or false. Also adds metrics for logging support.
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public bool ExecuteCrmEntityDeleteRequest(
string entName,
Guid entId,
string logMessageTag = "User Defined"
)
Public Function ExecuteCrmEntityDeleteRequest (
entName As String,
entId As Guid,
logMessageTag As String
) As Boolean
Parameters
entName
Type: System.StringName of the Entity to delete from
entId
Type: System.GuidID of the row to delete
logMessageTag
Type: System.StringMessage identifying what this request in logging
Return Value
Type: System.Boolean
True on success, False on fail.
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright