Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AttributeMetadata.SourceType Property

Definition

Namespace:
Microsoft.Xrm.Sdk.Metadata
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the value that indicates the source type for a specialized column: formula, calculated, rollup, or prompt.

public:
 property Nullable<int> SourceType { Nullable<int> get(); void set(Nullable<int> value); };
[System.Runtime.Serialization.DataMember(Order=70)]
public int? SourceType { get; set; }
[<System.Runtime.Serialization.DataMember(Order=70)>]
member this.SourceType : Nullable<int> with get, set
Public Property SourceType As Nullable(Of Integer)

Property Value

The value that indicates the source type for a specialized column: formula, calculated, rollup, or prompt.

Attributes

Remarks

The following table contains the valid values for this attribute.

ValueSource Type

null

Not a valid type of attribute to be a specialized column: formula, calculated, rollup, or prompt.

0

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

1

Calculated attribute

2

Rollup attribute

3

Formula attribute

4

Prompt attribute

Applies to