Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.String- Name of the Entity to delete from 
- entId 
 Type: System.Guid- ID of the row to delete 
- logMessageTag 
 Type: System.String- Message 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