Dela via


CrmServiceClient.ExecuteCrmOrganizationRequest Method (OrganizationRequest, String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright