Partilhar via


DataSourceCollection Class

Contains a collection of DataSource objects. This class cannot be inherited.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
<GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97")> _
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class DataSourceCollection
    Inherits MajorObjectCollection
[GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97")] 
[DefaultMemberAttribute("Item")] 
public sealed class DataSourceCollection : MajorObjectCollection
[GuidAttribute(L"DB5C187C-4810-4318-B008-6607DFAD2A97")] 
[DefaultMemberAttribute(L"Item")] 
public ref class DataSourceCollection sealed : public MajorObjectCollection
/** @attribute GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public final class DataSourceCollection extends MajorObjectCollection
GuidAttribute("DB5C187C-4810-4318-B008-6607DFAD2A97") 
DefaultMemberAttribute("Item") 
public final class DataSourceCollection extends MajorObjectCollection

Inheritance Hierarchy

System.Object
   Microsoft.AnalysisServices.ModelComponentCollection
     Microsoft.AnalysisServices.NamedComponentCollection
       Microsoft.AnalysisServices.MajorObjectCollection
        Microsoft.AnalysisServices.DataSourceCollection

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DataSourceCollection Members
Microsoft.AnalysisServices Namespace