共用方式為


MeasureGroup Class

Defines a set of measures known at the same level of granularity. All the measures of a MeasureGroup must be sourced from a single table.

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

語法

'宣告
<DesignerAttribute("Microsoft.AnalysisServices.Design.MeasureGroupDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")> _
<GuidAttribute("0A29598F-69D9-4380-BA02-A784A5798FE0")> _
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
Public NotInheritable Class MeasureGroup
    Inherits ProcessableMajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[DesignerAttribute("Microsoft.AnalysisServices.Design.MeasureGroupDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")] 
[GuidAttribute("0A29598F-69D9-4380-BA02-A784A5798FE0")] 
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
public sealed class MeasureGroup : ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.MeasureGroupDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")] 
[GuidAttribute(L"0A29598F-69D9-4380-BA02-A784A5798FE0")] 
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
public ref class MeasureGroup sealed : public ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.MeasureGroupDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute GuidAttribute("0A29598F-69D9-4380-BA02-A784A5798FE0") */ 
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
public final class MeasureGroup extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
DesignerAttribute("Microsoft.AnalysisServices.Design.MeasureGroupDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91") 
GuidAttribute("0A29598F-69D9-4380-BA02-A784A5798FE0") 
XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
public final class MeasureGroup extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

備註

A MeasureGroup is bound to a table in a data source view; and each measure is bound to a column in that table. Finally, each measure group dimension has a set of 'granularity attributes', which define the granularity of the MeasureGroup.

Inheritance Hierarchy

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

執行緒安全性

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

請參閱

參考

MeasureGroup Members
Microsoft.AnalysisServices Namespace