Share via


DataItem.DataType Proprietà

Definizione

Ottiene o imposta il tipo dell'elemento DataItem corrente.

[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

Valore della proprietà

Valore OleDbType con il tipo dell'oggetto DataItem.

Attributi

Commenti

Anche se viene usata l'enumerazione OLeDbType, sono validi solo i valori seguenti: WChar, Integer, BigInt, Single, Double, Date, Currency,UnsignedTinyInt, UnsignedSmallInt, UnsignedInt, UnsignedBigInt, Bool, Smallint, Tinyint, Binary. L'uso di altri tipi OLeDbType genererà un errore, anziché qualsiasi conversione implicita in uno dei tipi validi.

Si applica a