DataItem.DataType 属性

定义

获取或设置当前 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

属性值

具有 DataItem 类型的 OleDbType 值。

属性

注解

虽然使用了 OLeDbType 枚举,但只有以下值有效:WChar、Integer、BigInt、Single、Double、Date、Currency、UnsignedTinyInt、UnsignedSmallInt、UnsignedInt、UnsignedBigInt、Bool、Smallint、Tinyint、Binary。 使用其他 OLeDbType 会导致错误,而不是将任何隐式转换转换为有效类型之一。

适用于