CrmServiceClient.ExecuteCrmEntityDeleteRequest(String, Guid, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes a row level delete on a CRM entity ( thread safe ) and returns true or false. Also adds metrics for logging support.
public bool ExecuteCrmEntityDeleteRequest (string entName, Guid entId, string logMessageTag = "User Defined");
member this.ExecuteCrmEntityDeleteRequest : string * Guid * string -> bool
Public Function ExecuteCrmEntityDeleteRequest (entName As String, entId As Guid, Optional logMessageTag As String = "User Defined") As Boolean
Parameters
- entName
- String
Name of the Entity to delete from
- entId
- Guid
ID of the row to delete
- logMessageTag
- String
Message identifying what this request in logging
Returns
True on success, False on fail.