StringAttributeMetadata.SourceTypeMask Sifat

Gets the bitmask value that describes the sources of data used in a calculated attribute or whether the data sources are invalid.

Ruang nama: Microsoft.Xrm.Sdk.Metadata
Perhimpunan: Microsoft.Xrm.Sdk (dalam Microsoft.Xrm.Sdk.dll)

public Nullable<int> SourceTypeMask { get; }

Nilai Sifat

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

The following table contains the valid values for this attribute.

Value Description


Undefined: The default value for simple and rollup attributes.


Simple: The calculated attribute refers to an attribute in the same record.


Related: The calculated attribute refers to an attribute in a related record.


Logical: The calculated attribute refers to an attribute in the same record that is actually stored in a different database table. Maklumat lanjut:Logical attributes.


Calculated: The calculated attribute refers to another calculated attribute.


Rollup: The calculated attribute refers a rollup attribute.


Invalid: The calculated or rollup attribute is invalid.

Typically this would be where a field refers to an attribute that no longer exists.

The SourceTypeMasks enumeration is useful when performing bitwise operations to check whether specific values are present in this bitmask value.

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.