DataItem.Type 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置当前 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 会导致错误,而不是将任何隐式转换到有效类型之一。