Delen via


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.

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

Syntax

'Declaration
Public Sub New ( _
    tableName As String, _
    columnName As String, _
    dataType As OleDbType, _
    dataSize As Integer _
)
'Usage
Dim tableName As String 
Dim columnName As String 
Dim dataType As OleDbType 
Dim dataSize As Integer 

Dim instance As New DataItem(tableName, _
    columnName, dataType, dataSize)
public DataItem(
    string tableName,
    string columnName,
    OleDbType dataType,
    int dataSize
)
public:
DataItem(
    String^ tableName, 
    String^ columnName, 
    OleDbType dataType, 
    int dataSize
)
new : 
        tableName:string * 
        columnName:string * 
        dataType:OleDbType * 
        dataSize:int -> DataItem
public function DataItem(
    tableName : String, 
    columnName : String, 
    dataType : OleDbType, 
    dataSize : int
)

Parameters

  • dataSize
    Type: System.Int32
    An integer value that specifies the data size.

See Also

Reference

DataItem Class

DataItem Overload

Microsoft.AnalysisServices Namespace