Share via


CrmServiceClient.GetEntityMetadata(String, EntityFilters) Method

Definition

Returns the Metadata for an entity from CRM, defaults to basic data only.

public Microsoft.Xrm.Sdk.Metadata.EntityMetadata GetEntityMetadata (string entityLogicalname, Microsoft.Xrm.Sdk.Metadata.EntityFilters queryFilter = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Default);
member this.GetEntityMetadata : string * Microsoft.Xrm.Sdk.Metadata.EntityFilters -> Microsoft.Xrm.Sdk.Metadata.EntityMetadata
Public Function GetEntityMetadata (entityLogicalname As String, Optional queryFilter As EntityFilters = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Default) As EntityMetadata

Parameters

entityLogicalname
String

Logical name of the entity

queryFilter
EntityFilters

filter to apply to the query, defaults to default entity data.

Returns

Applies to