EntityFilters 枚举

应用到: CRM 2015 on-prem, CRM Online

Describes the type of entity metadata to retrieve.

命名空间: Microsoft.Xrm.Sdk.Metadata
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)

语法

声明
<FlagsAttribute> _
<DataContractAttribute(Name:="EntityFilters", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration EntityFilters
[FlagsAttribute] 
[DataContractAttribute(Name="EntityFilters", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum EntityFilters

成员

成员名称 描述
All Use this to retrieve all data for an entity. Value = 15.
Attributes Use this to retrieve entity information plus attributes for the entity. Value = 2.
Default Use this to retrieve only entity information. Equivalent to EntityFilters.Entity. Value = 1.
Entity Use this to retrieve only entity information. Equivalent to EntityFilters.Default. Value = 1.
Privileges Use this to retrieve entity information plus privileges for the entity. Value = 4.
Relationships Use this to retrieve entity information plus entity relationships for the entity. Value = 8.

备注

Use this enumeration with RetrieveAllEntitiesRequest and RetrieveEntityRequest.

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

Microsoft.Xrm.Sdk.Metadata 命名空间

其他资源

Sample: Dump Entity Metadata to a File

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.