DataItem.Type 属性

定义

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

属性值

包含 DataItem 类型的 DataItemType 值。

属性

注解

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

适用于