CRMGlobalManager.GetEntity Method (String, String, String, Entity)
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)
Usage
'Usage
Dim instance As CRMGlobalManager
Dim entity As String
Dim idname As String
Dim id As String
Dim searchDefinition As Entity
Dim returnValue As Entity
returnValue = instance.GetEntity(entity, idname, id, searchDefinition)
Syntax
'Declaration
Public Function GetEntity ( _
entity As String, _
idname As String, _
id As String, _
<OutAttribute> ByRef searchDefinition As Entity _
) As Entity
public Entity GetEntity (
string entity,
string idname,
string id,
out Entity searchDefinition
)
public:
virtual Entity^ GetEntity (
String^ entity,
String^ idname,
String^ id,
[OutAttribute] Entity^% searchDefinition
) sealed
public final Entity GetEntity (
String entity,
String idname,
String id,
/** @attribute OutAttribute() */ /** @ref */ Entity searchDefinition
)
Parameters
- entity
- idname
- id
- searchDefinition
The Entity Searches entity that contains the FetchXml that was used
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
CRMGlobalManager Class
CRMGlobalManager Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.