Compartir a través de


Database Class

Defines a Microsoft SQL Server 2005 Analysis Services (SSAS) database. This class cannot be inherited.

Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintaxis

'Declaración
<DesignerAttribute("Microsoft.AnalysisServices.Design.DatabaseDesigner,Microsoft.AnalysisServices.Design", GetType(IRootDesigner))> _
<GuidAttribute("47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8")> _
<DesignerCategoryAttribute("Designer")> _
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<DesignerSerializerAttribute("Microsoft.AnalysisServices.Project.ComponentModel.DatabaseOnlineSerializer, Microsoft.AnalysisServices.Project, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
Public NotInheritable Class Database
    Inherits ProcessableMajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable, IConnectionStringHolder
[DesignerAttribute("Microsoft.AnalysisServices.Design.DatabaseDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[GuidAttribute("47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8")] 
[DesignerCategoryAttribute("Designer")] 
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[DesignerSerializerAttribute("Microsoft.AnalysisServices.Project.ComponentModel.DatabaseOnlineSerializer, Microsoft.AnalysisServices.Project, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public sealed class Database : ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable, IConnectionStringHolder
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.DatabaseDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[GuidAttribute(L"47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8")] 
[DesignerCategoryAttribute(L"Designer")] 
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[DesignerSerializerAttribute(L"Microsoft.AnalysisServices.Project.ComponentModel.DatabaseOnlineSerializer, Microsoft.AnalysisServices.Project, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public ref class Database sealed : public ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable, IConnectionStringHolder
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.DatabaseDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) */ 
/** @attribute GuidAttribute("47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8") */ 
/** @attribute DesignerCategoryAttribute("Designer") */ 
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute DesignerSerializerAttribute("Microsoft.AnalysisServices.Project.ComponentModel.DatabaseOnlineSerializer, Microsoft.AnalysisServices.Project, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
public final class Database extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable, IConnectionStringHolder
DesignerAttribute("Microsoft.AnalysisServices.Design.DatabaseDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) 
GuidAttribute("47922F3A-A6AF-4f2a-AE68-8B08E0CF38A8") 
DesignerCategoryAttribute("Designer") 
XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
DesignerSerializerAttribute("Microsoft.AnalysisServices.Project.ComponentModel.DatabaseOnlineSerializer, Microsoft.AnalysisServices.Project, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
public final class Database extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable, IConnectionStringHolder

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
           Microsoft.AnalysisServices.MajorObject
             Microsoft.AnalysisServices.ProcessableMajorObject
              Microsoft.AnalysisServices.Database

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Database Members
Microsoft.AnalysisServices Namespace