Share via


CRMGlobalManager.GetEntity Method (EntityReference, String, String, String, Entity)

 

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

This version captures the Entity that is found from the Entity Searches configuration. It also returns the actual search definition entry that would contain the fetchXml that was executed

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public Entity GetEntity(
    EntityReference entitySearch,
    string entity,
    string idname,
    string id,
    out Entity searchDefinition
)
Public Function GetEntity (
    entitySearch As EntityReference,
    entity As String,
    idname As String,
    id As String,
    <OutAttribute> ByRef searchDefinition As Entity
) As Entity

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Entity

See Also

GetEntity Overload
CRMGlobalManager Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright