Partager via


Add méthode (DataSource)

Adds a DataSource to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As DataSource _
) As Integer
'Utilisation
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

Paramètres

Valeur de retour

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