다음을 통해 공유


DataItem.DataType Property

Gets or sets the type of current DataItem.

네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

구문

‘선언
<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)

속성 값

An OleDbType value with the type of DataItem.

주의

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.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DataItem Class
DataItem Members
Microsoft.AnalysisServices Namespace