다음을 통해 공유


AttributeRequiredLevel Enumeration

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Describes the requirement level for an attribute.

For the Web API use the AttributeRequiredLevel EnumType.

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

Syntax

[DataContractAttribute(Name = "AttributeRequiredLevel", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum AttributeRequiredLevel
<DataContractAttribute(Name := "AttributeRequiredLevel", Namespace := "https://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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright