Share via


CrmServiceClient.ExecuteCrmOrganizationRequest Method

Definition

Executes a CRM Organization Request (thread safe) and returns the organization response object. Also adds metrics for logging support.

public Microsoft.Xrm.Sdk.OrganizationResponse ExecuteCrmOrganizationRequest (Microsoft.Xrm.Sdk.OrganizationRequest req, string logMessageTag = "User Defined");
member this.ExecuteCrmOrganizationRequest : Microsoft.Xrm.Sdk.OrganizationRequest * string -> Microsoft.Xrm.Sdk.OrganizationResponse
Public Function ExecuteCrmOrganizationRequest (req As OrganizationRequest, Optional logMessageTag As String = "User Defined") As OrganizationResponse

Parameters

req
OrganizationRequest

Organization Request to run

logMessageTag
String

Message identifying what this request in logging.

Returns

Result of request or null.

Applies to