OrganizationServiceContextExtensions.RetrieveAllEntities Method (OrganizationServiceContext, EntityFilters, Boolean)


Applies To: Dynamics CRM 2015

Retrieves the metadata for all entities. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)


public static EntityMetadata[] RetrieveAllEntities(
    this OrganizationServiceContext service,
    EntityFilters entityFilters = EntityFilters.Entity,
    bool retrieveAsIfPublished = false
static array<EntityMetadata^>^ RetrieveAllEntities(
    OrganizationServiceContext^ service,
    EntityFilters entityFilters = EntityFilters::Entity,
    bool retrieveAsIfPublished = false
static member RetrieveAllEntities : 
        service:OrganizationServiceContext *
        entityFilters:EntityFilters = EntityFilters.Entity *
        retrieveAsIfPublished:bool = false -> EntityMetadata[]
Public Shared Function RetrieveAllEntities (
    service As OrganizationServiceContext,
    entityFilters As EntityFilters,
    retrieveAsIfPublished As Boolean
) As EntityMetadata()


Return Value

Type: Microsoft.Xrm.Sdk.Metadata.EntityMetadata[]

Returns EntityMetadata.


This is a method wrapper for the RetrieveAllEntitiesRequest and RetrieveAllEntitiesResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright