共用方式為


EntityFilters 列舉

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.

平台

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008、Windows Server 2012、Windows 7

請參閱

參照

Microsoft.Xrm.Sdk.Metadata 命名空間

其他資源

Sample: Dump Entity Metadata to a File

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