Dela via


AttributeMetadata.SchemaName Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property String^ SchemaName {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute>]
member SchemaName : string with 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

© 2016 Microsoft. All rights reserved. Copyright