Condividi tramite


AttributeMetadata.SourceType Property

 

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

Gets or sets the value that indicates the source type for a calculated or rollup attribute.

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

Syntax

[DataMemberAttribute(Order = 70)]
public Nullable<int> SourceType { get; set; }
<DataMemberAttribute(Order := 70)>
Public Property SourceType As Nullable(Of Integer)

Property Value

Type: System.Nullable<Int32>

Type: Nullable<Int32>
The value that indicates the source type for a calculated or rollup attribute.

Remarks

The following table contains the valid values for this attribute.

Value

Source Type

null

Not a valid type of attribute to be a calculated or rollup attribute.

0

Simple attribute. The attribute isn’t defined as a calculated or rollup attribute.

1

Calculated attribute

2

Rollup attribute

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Calculated and rollup attributes

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright