Share via


DataSourceCollection.Add Method

Include Protected Members
Include Inherited Members

Creates and adds a DataSource to the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add() Creates and adds a DataSource to the end of the collection.
Public method Add(String) Creates and adds a DataSource, with the specified identifier, to the end of the collection.
Public method Add(DataSource) Adds a DataSource to the end of the collection.
Protected method Add(ModelComponent) Adds a ModelComponent to the end of the MajorObjectCollection. (Inherited from MajorObjectCollection.)
Public method Add(String, String) Creates and adds a DataSource, with the specified name and identifier, to the end of the collection.
Protected method Add(ModelComponent, Boolean) Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)

Top

See Also

Reference

DataSourceCollection Class

Microsoft.AnalysisServices Namespace