DataItem.DataType Property

Definition

Gets or sets the type of current DataItem.

[Microsoft.AnalysisServices.LocalizedDescription("PropertyDescription_DataItem_DataType")]
[System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeConverter, Microsoft.AnalysisServices.Design.AS")]
public System.Data.OleDb.OleDbType DataType { get; set; }
[<Microsoft.AnalysisServices.LocalizedDescription("PropertyDescription_DataItem_DataType")>]
[<System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeConverter, Microsoft.AnalysisServices.Design.AS")>]
member this.DataType : System.Data.OleDb.OleDbType with get, set
Public Property DataType As OleDbType

Property Value

OleDbType

An OleDbType value with the type of the DataItem.

Attributes
Microsoft.AnalysisServices.LocalizedDescriptionAttribute TypeConverterAttribute

Remarks

Although the OLeDbType enumeration is used, 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