Partilhar via


ProfileOperations.GetEntityCollectionFromCacheByName Method

Returns an entity collection from the cache if it is present.

Namespace: Microsoft.Crm.UnifiedServiceDesk.CommonUtility.UserProfileManager
Assembly: Microsoft.Crm.UnifiedServiceDesk.CommonUtility (in Microsoft.Crm.UnifiedServiceDesk.CommonUtility.dll)

Usage

'Usage
Dim instance As ProfileOperations
Dim entityName As String
Dim returnValue As EntityCollection

returnValue = instance.GetEntityCollectionFromCacheByName(entityName)

Syntax

'Declaration
Public Function GetEntityCollectionFromCacheByName ( _
    entityName As String _
) As EntityCollection
public EntityCollection GetEntityCollectionFromCacheByName (
    string entityName
)
public:
EntityCollection^ GetEntityCollectionFromCacheByName (
    String^ entityName
)
public EntityCollection GetEntityCollectionFromCacheByName (
    String entityName
)
public function GetEntityCollectionFromCacheByName (
    entityName : String
) : EntityCollection

Parameters

  • entityName
    Specifies the name of the entity.

Return Value

EntityCollection or Null.

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

ProfileOperations Class
ProfileOperations Members
Microsoft.Crm.UnifiedServiceDesk.CommonUtility.UserProfileManager Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.