Compartilhar via


Método Add (String, String)

Creates and adds a DataItem, with the specified table name and column name, to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    tableName As String, _
    columnName As String _
) As DataItem
'Uso
Dim instance As DataItemCollection
Dim tableName As String
Dim columnName As String
Dim returnValue As DataItem

returnValue = instance.Add(tableName, _
    columnName)
public DataItem Add(
    string tableName,
    string columnName
)
public:
DataItem^ Add(
    String^ tableName, 
    String^ columnName
)
member Add : 
        tableName:string * 
        columnName:string -> DataItem 
public function Add(
    tableName : String, 
    columnName : String
) : DataItem

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices. . :: . .DataItem
A new DataItem with the specified table name and column name.