AttributeRequiredLevel Enumeration

 

Applies To: Dynamics CRM 2015

Describes the requirement level for an attribute.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataContractAttribute(Name = "AttributeRequiredLevel", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum AttributeRequiredLevel
[DataContractAttribute(Name = "AttributeRequiredLevel", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum class AttributeRequiredLevel
[<DataContractAttribute(Name = "AttributeRequiredLevel", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")>]
type AttributeRequiredLevel
<DataContractAttribute(Name := "AttributeRequiredLevel", Namespace := "http://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration AttributeRequiredLevel

Members

Member name Description
ApplicationRequired

The attribute is required to have a value. Value = 2.

None

No requirements are specified. Value = 0.

Recommended

It is recommended that the attribute has a value. Value = 3.

SystemRequired

The attribute is required to have a value. Value = 1.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity attribute metadata

Return to top

© 2016 Microsoft. All rights reserved. Copyright