Share via


MetadataExtensions.GetAllEntityMetadata Method

Definition

Returns a list of entities with basic data from Dataverse

public static System.Collections.Generic.List<Microsoft.Xrm.Sdk.Metadata.EntityMetadata> GetAllEntityMetadata (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, bool onlyPublished = true, Microsoft.Xrm.Sdk.Metadata.EntityFilters filter = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Default);
static member GetAllEntityMetadata : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * bool * Microsoft.Xrm.Sdk.Metadata.EntityFilters -> System.Collections.Generic.List<Microsoft.Xrm.Sdk.Metadata.EntityMetadata>
<Extension()>
Public Function GetAllEntityMetadata (serviceClient As ServiceClient, Optional onlyPublished As Boolean = true, Optional filter As EntityFilters = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Default) As List(Of EntityMetadata)

Parameters

serviceClient
ServiceClient

ServiceClient

onlyPublished
Boolean

defaults to true, will only return published information

filter
EntityFilters

EntityFilter to apply to this request, note that filters other then Default will consume more time.

Returns

Applies to