CrmServiceClient.ExecuteCrmEntityDeleteRequest Method (String, Guid, String)

 

Updated: November 29, 2016

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)

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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: