Delen via


DataItem Constructor (String, String)

Initializes a new instance of DataItem for the specified table and column.

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

Syntax

'Declaration
Public Sub New ( _
    tableName As String, _
    columnName As String _
)
'Usage
Dim tableName As String
Dim columnName As String

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

Parameters

  • tableName
    Type: System.String
    A System.String with the name of the table.
  • columnName
    Type: System.String
    A System.String with the name of the column.