Método DataSourceCollection.Add (DataSource)
Adds a DataSource to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function Add ( _
item As DataSource _
) As Integer
'Uso
Dim instance As DataSourceCollection
Dim item As DataSource
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
DataSource item
)
public:
int Add(
DataSource^ item
)
member Add :
item:DataSource -> int
public function Add(
item : DataSource
) : int
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.DataSource
The DataSource to be added.
Valor de retorno
Tipo: System.Int32
The zero-based index at which the DataSource has been added.