DataSourceCollection.Add-Methode (DataSource)
Adds a DataSource to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As DataSource _
) As Integer
'Usage
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
Parameter
- item
Typ: Microsoft.AnalysisServices.DataSource
The DataSource to be added.
Rückgabewert
Typ: System.Int32
The zero-based index at which the DataSource has been added.