Creates and adds a DataSource to the collection.
重载列表
| 名称 | Description | 
|---|---|
| DataSourceCollection.Add () | 
Creates and adds a DataSource to the end of the collection.
 | 
| DataSourceCollection.Add (DataSource) | 
Adds a DataSource to the end of the collection.
 | 
| DataSourceCollection.Add (ModelComponent) | (inherited from Add ) | 
| DataSourceCollection.Add (String) | 
Creates and adds a DataSource, with the specified identifier, to the end of the collection.
 | 
| DataSourceCollection.Add (ModelComponent, Boolean) | (inherited from Add ) | 
| DataSourceCollection.Add (String, IModelComponent) | (inherited from Add ) | 
| DataSourceCollection.Add (String, String) | 
Creates and adds a DataSource, with the specified name and identifier, to the end of the collection.
 | 
| DataSourceCollection.Add (String, IModelComponent, Boolean) | (inherited from Add ) | 
请参阅
参考
DataSourceCollection Class
DataSourceCollection Members
Microsoft.AnalysisServices Namespace