CrmServiceClient.ExecuteCrmOrganizationRequest Method (OrganizationRequest, String)

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public OrganizationResponse ExecuteCrmOrganizationRequest(
    OrganizationRequest req,
    string logMessageTag = "User Defined"
)
public:
OrganizationResponse^ ExecuteCrmOrganizationRequest(
    OrganizationRequest^ req,
    String^ logMessageTag = "User Defined"
)
member ExecuteCrmOrganizationRequest : 
        req:OrganizationRequest *
        logMessageTag:string = "User Defined" -> OrganizationResponse
Public Function ExecuteCrmOrganizationRequest (
    req As OrganizationRequest,
    logMessageTag As String
) As OrganizationResponse

Parameters

  • logMessageTag
    Type: System.String

    Message identifying what this request in logging.

Return Value

Type: Microsoft.Xrm.Sdk.OrganizationResponse

Result of request or null.

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright