共用方式為


DatabaseCollection Class

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

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6")> _
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class DatabaseCollection
    Inherits MajorObjectCollection
[GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6")] 
[DefaultMemberAttribute("Item")] 
public sealed class DatabaseCollection : MajorObjectCollection
[GuidAttribute(L"F4C66028-67C0-4a43-9169-1D53381162D6")] 
[DefaultMemberAttribute(L"Item")] 
public ref class DatabaseCollection sealed : public MajorObjectCollection
/** @attribute GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public final class DatabaseCollection extends MajorObjectCollection
GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6") 
DefaultMemberAttribute("Item") 
public final class DatabaseCollection extends MajorObjectCollection

Inheritance Hierarchy

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DatabaseCollection Members
Microsoft.AnalysisServices Namespace