Freigeben über


DataItem.DataType Property

Gets or sets the type of current DataItem.

Namespace: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeConverter, Microsoft.AnalysisServices.Design")> _
<EditorAttribute("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
Public Property DataType As OleDbType
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute("Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public OleDbType DataType { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute(L"Microsoft.AnalysisServices.Design.DataItemDataTypePropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public:
property OleDbType DataType {
    OleDbType get ();
    void set (OleDbType value);
}
/** @property */
public OleDbType get_DataType ()

/** @property */
public void set_DataType (OleDbType value)
public function get DataType () : OleDbType

public function set DataType (value : OleDbType)

Eigenschaftswert

An OleDbType value with the type of DataItem.

Hinweise

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.

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

DataItem Class
DataItem Members
Microsoft.AnalysisServices Namespace