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
- item
Type : Microsoft.AnalysisServices. . :: . .DataSource
The DataSource to be added.
Valeur de retour
Type : System. . :: . .Int32
The zero-based index at which the DataSource has been added.