Freigeben über


DataItem.DataType Property

Definition

Gets or sets the type of current DataItem.

[System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeConverter, Microsoft.AnalysisServices.Design.AS")]
public System.Data.OleDb.OleDbType DataType { get; set; }
[<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

An OleDbType value with the type of the DataItem.

Attributes

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