CrmServiceClient.ExecuteCrmEntityDeleteRequest Method (String, Guid, String)
Applies To: Dynamics CRM 2015
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:
bool ExecuteCrmEntityDeleteRequest(
String^ entName,
Guid entId,
String^ logMessageTag = "User Defined"
)
member ExecuteCrmEntityDeleteRequest :
entName:string *
entId:Guid *
logMessageTag:string = "User Defined" -> bool
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
© 2016 Microsoft. All rights reserved. Copyright