Condividi tramite


Metodo DataSourceCollection.Add (DataSource)

Adds a DataSource to the end of the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    item As DataSource _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

Tipo: System.Int32
The zero-based index at which the DataSource has been added.

Vedere anche

Riferimento

DataSourceCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices