CrmServiceClient.GetEntityMetadata Method (String, EntityFilters)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Returns the Metadata for an entity from CRM, defaults to basic data only.
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public EntityMetadata GetEntityMetadata(
string entityLogicalname,
EntityFilters queryFilter = EntityFilters.Entity
)
Public Function GetEntityMetadata (
entityLogicalname As String,
queryFilter As EntityFilters
) As EntityMetadata
Parameters
entityLogicalname
Type: System.StringLogical name of the entity
queryFilter
Type: Microsoft.Xrm.Sdk.Metadata.EntityFiltersfilter to apply to the query, defaults to default entity data.
Return Value
Type: Microsoft.Xrm.Sdk.Metadata.EntityMetadata
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright