共用方式為


DeletedMetadataFilters Enum

Definition

An enumeration that specifies the type of deleted metadata to retrieve.

This enumeration supports a bitwise combination of its member values.

public enum class DeletedMetadataFilters
[System.Flags]
[System.Runtime.Serialization.DataContract(Name="DeletedMetadataFilters", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata/Query")]
public enum DeletedMetadataFilters
[<System.Flags>]
[<System.Runtime.Serialization.DataContract(Name="DeletedMetadataFilters", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata/Query")>]
type DeletedMetadataFilters = 
Public Enum DeletedMetadataFilters
Inheritance
DeletedMetadataFilters
Attributes

Fields

Name Value Description
Default 1

The value used if not set. Equals Entity

Entity 1

Deleted Entity metadata. Value = 1.

Attribute 2

Deleted Attribute metadata. Value = 2.

Relationship 4

Deleted Relationship metadata. Value = 4.

Label 8

Deleted Label metadata. Value = 8.

OptionSet 16

Deleted OptionSet metadata. Value = 16.

All 31

All deleted metadata. Value = 31.

Remarks

The DeletedMetadataFilters enumeration can also be used as a key to access a subset of deleted metadata included in a DeletedMetadataCollection.

Applies to