共用方式為


Dimension Class

Represents the contents of a Dimension. This class cannot be inherited.

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

語法

'宣告
<GuidAttribute("1E3D786D-BE27-4c3b-B139-49A43155C9C7")> _
<DesignerCategoryAttribute("Designer")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.DimensionDesigner,Microsoft.AnalysisServices.Design", GetType(IRootDesigner))> _
<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.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
Public NotInheritable Class Dimension
    Inherits ProcessableMajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[GuidAttribute("1E3D786D-BE27-4c3b-B139-49A43155C9C7")] 
[DesignerCategoryAttribute("Designer")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.DimensionDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[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.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public sealed class Dimension : ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[GuidAttribute(L"1E3D786D-BE27-4c3b-B139-49A43155C9C7")] 
[DesignerCategoryAttribute(L"Designer")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.DimensionDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[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.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public ref class Dimension sealed : public ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute GuidAttribute("1E3D786D-BE27-4c3b-B139-49A43155C9C7") */ 
/** @attribute DesignerCategoryAttribute("Designer") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.DimensionDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) */ 
/** @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.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
public final class Dimension extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
GuidAttribute("1E3D786D-BE27-4c3b-B139-49A43155C9C7") 
DesignerCategoryAttribute("Designer") 
DesignerAttribute("Microsoft.AnalysisServices.Design.DimensionDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) 
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.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
public final class Dimension extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

Inheritance Hierarchy

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

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

Dimension Members
Microsoft.AnalysisServices Namespace