共用方式為


DataItem Constructor (String, String, OleDbType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
Public Sub New ( _
    tableName As String, _
    columnName As String, _
    dataType As OleDbType, _
    dataSize As Integer _
)
public DataItem (
    string tableName,
    string columnName,
    OleDbType dataType,
    int dataSize
)
public:
DataItem (
    String^ tableName, 
    String^ columnName, 
    OleDbType dataType, 
    int dataSize
)
public DataItem (
    String tableName, 
    String columnName, 
    OleDbType dataType, 
    int dataSize
)
public function DataItem (
    tableName : String, 
    columnName : String, 
    dataType : OleDbType, 
    dataSize : int
)

參數

  • tableName
    A System.String with the name of the table.
  • columnName
    A System.String with the name of the column.
  • dataType
    Specifies an OleDbType type for DataItem
  • dataSize
    An integer value that specifies the data size.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DataItem Class
DataItem Members
Microsoft.AnalysisServices Namespace