DataSourceCollection.Add Method (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
Parameters
- item
Type: Microsoft.AnalysisServices.DataSource
The DataSource to be added.
Return Value
Type: System.Int32
The zero-based index at which the DataSource has been added.