DeletedMetadataFilters DeletedMetadataFilters DeletedMetadataFilters DeletedMetadataFilters Enum

Definition

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

This enumeration has a FlagsAttribute attribute that allows 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
type DeletedMetadataFilters = 
Public Enum DeletedMetadataFilters
Inheritance
DeletedMetadataFiltersDeletedMetadataFiltersDeletedMetadataFiltersDeletedMetadataFilters
Attributes

Fields

All All All All 31

All deleted metadata. Value = 31.

Attribute Attribute Attribute Attribute 2

Deleted Attribute metadata. Value = 2.

Default Default Default Default 1

The value used if not set. Equals Entity

Entity Entity Entity Entity 1

Deleted Entity metadata. Value = 1.

Label Label Label Label 8

Deleted Label metadata. Value = 8.

OptionSet OptionSet OptionSet OptionSet 16

Deleted OptionSet metadata. Value = 16.

Relationship Relationship Relationship Relationship 4

Deleted Relationship metadata. Value = 4.

Remarks

The DeletedMetadataFilters enumeration can also be used as a key to access a subset of deleted metadata included in a DeletedMetadataCollection. The following code snippets show usage of DeletedMetadataFilters in Sample: Query metadata and detect changes.

MetadataQuery#getMetadataChanges,updateOptionLabelList,removeOptionLabelsFromCache

Applies to