DataSourceCollection.Add Método (DataSource)
Adds a DataSource to the end of the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.Int32
The zero-based index at which the DataSource has been added.