Partager via


DataItem.Type Property

Definition

Gets or sets the type of current DataItem.

[System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemTypePropertyTypeConverter, Microsoft.AnalysisServices.Design.AS")]
public Microsoft.AnalysisServices.DataType Type { get; set; }
[<System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemTypePropertyTypeConverter, Microsoft.AnalysisServices.Design.AS")>]
member this.Type : Microsoft.AnalysisServices.DataType with get, set
Public Property Type As DataType

Property Value

A DataItemType value with the type of the DataItem.

Attributes

Remarks

Although the enumeration supports all the values of the OLeDbType, only the following values are valid: WChar, Integer, BigInt, Single, Double, Date, Currency,UnsignedTinyInt, UnsignedSmallInt, UnsignedInt, UnsignedBigInt, Bool, Smallint, Tinyint, Binary. Use of other OLeDbType will cause an error, instead of any implicit conversion to one of the valid types.

Applies to