Метод Add (DataSource)
Adds a DataSource to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
item As DataSource _
) As Integer
'Применение
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
Параметры
- item
Тип Microsoft.AnalysisServices. . :: . .DataSource
The DataSource to be added.
Возвращаемое значение
Тип System. . :: . .Int32
The zero-based index at which the DataSource has been added.