Share via


DataSourceViewCollection.Add Method (DataSourceView)

Adds a DataSourceView to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As DataSourceView _
) As Integer
'Usage
Dim instance As DataSourceViewCollection 
Dim item As DataSourceView 
Dim returnValue As Integer 

returnValue = instance.Add(item)
public int Add(
    DataSourceView item
)
public:
int Add(
    DataSourceView^ item
)
member Add : 
        item:DataSourceView -> int
public function Add(
    item : DataSourceView
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the DataSourceView has been added.

See Also

Reference

DataSourceViewCollection Class

Add Overload

Microsoft.AnalysisServices Namespace