Compartilhar via


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.

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

Syntax

'Declaration
<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

Remarks

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

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

MeasureGroup Members
Microsoft.AnalysisServices Namespace