Share via


AttributeMetadata.SchemaName Property

 

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

Gets or sets the schema name for the attribute.

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

Syntax

[DataMemberAttribute]
public string SchemaName { get; set; }
<DataMemberAttribute>
Public Property SchemaName As String

Property Value

Type: System.String

Type: String
The schema name for the attribute.

Remarks

This property is read-only except when you create an attribute. For the CreateAttributeRequest method, it is required and must be unique. This name has different length requirements depending on its use.

The value of the SchemaName property should be in Pascal case. It is converted to all lowercase for the LogicalName property.

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Options available when you create a custom entity

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright