Measure Class
Defines a fact attribute for which an aggregation is obtained. This class cannot be inherited.
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.Measure
Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")> _
Public NotInheritable Class Measure _
    Inherits NamedComponent _
    Implements ICloneable
'Usage
Dim instance As Measure
[GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
public sealed class Measure : NamedComponent, 
    ICloneable
[GuidAttribute(L"0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
public ref class Measure sealed : public NamedComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")>]
type Measure =  
    class
        inherit NamedComponent
        interface ICloneable
    end
public final class Measure extends NamedComponent implements ICloneable
The Measure type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | Measure() | Initializes a new instance of Measure using the default values. | 
| .gif) | Measure(String) | Initializes a new instance of Measure using a name. | 
| .gif) | Measure(String, String) | Initializes a new instance of Measure using a name and an identifier. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AggregateFunction | Gets or sets the aggregate function applied to current measure. | 
| .gif) | Annotations | Gets a collection within which you can store custom data. (Inherited from ModelComponent.) | 
| .gif) | BackColor | Gets or sets the BackColor for display of a Measure. | 
| .gif) | CanRaiseEvents | (Inherited from Component.) | 
| .gif) | Container | (Inherited from Component.) | 
| .gif) | DataType | Gets or sets the current measure data type. | 
| .gif) | Description | (Inherited from NamedComponent.) | 
| .gif) | DesignMode | (Inherited from Component.) | 
| .gif) | DisplayFolder | Gets or sets the DisplayFolder information of the Measure, for use by clients. | 
| .gif) | Events | (Inherited from Component.) | 
| .gif) | FontFlags | Gets or sets the FontFlags information of the Measure, for use by clients. | 
| .gif) | FontName | Gets or sets the FontName information of the Measure, for use by clients. | 
| .gif) | FontSize | Gets or sets the FontSize information of the Measure, for use by clients. | 
| .gif) | ForeColor | Gets or sets the ForeColor information of the Measure, for use by clients. | 
| .gif) | FormatString | Gets or sets the FormatString information of the Measure, for use by clients. | 
| .gif) | FriendlyName | (Inherited from NamedComponent.) | 
| .gif) | ID | (Inherited from NamedComponent.) | 
| .gif) | IsLinked | |
| .gif) | KeyForCollection | (Inherited from NamedComponent.) | 
| .gif) | MeasureExpression | |
| .gif) | Name | (Inherited from NamedComponent.) | 
| .gif) | OwningCollection | Gets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.) | 
| .gif) | Parent | Gets the MeasureGroup that is the parent of the Measure. | 
| .gif) | ParentCube | Gets the Cube object that is the parent of the Measure object. | 
| .gif) | ParentDatabase | Gets the Database object that is the parent of the Measure. | 
| .gif) | ParentServer | Gets the Server object that is the parent of the Measure. | 
| .gif) | Site | (Inherited from NamedComponent.) | 
| .gif) | SiteID | (Inherited from NamedComponent.) | 
| .gif) | Source | Gets or sets the data item source for the current measure. | 
| .gif) | Translations | Gets the TranslationCollection object for the current measure. | 
| .gif) | Visible | Gets or sets whether the Measure should be visible to the client. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddToContainer | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | AfterInsert | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | AfterMove | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | AfterRemove | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | BeforeRemove | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | Clone | Creates a new full copy of an object. | 
| .gif) | CopyTo(Measure) | Copies a Measure to the specified object. | 
| .gif) | CopyTo(ModelComponent) | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | CopyTo(NamedComponent) | (Inherited from NamedComponent.) | 
| .gif) | CreateObjRef | (Inherited from MarshalByRefObject.) | 
| .gif) | Dispose() | (Inherited from Component.) | 
| .gif) | Dispose(Boolean) | (Inherited from Component.) | 
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Component.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetLifetimeService | (Inherited from MarshalByRefObject.) | 
| .gif) | GetService | (Inherited from Component.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | InitializeLifetimeService | (Inherited from MarshalByRefObject.) | 
| .gif) | MemberwiseClone() | (Inherited from Object.) | 
| .gif) | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | 
| .gif) | RemoveFromContainer | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | Reset | (Inherited from NamedComponent.) | 
| .gif) | Submit() | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | Submit(Boolean) | Infrastructure. (Inherited from ModelComponent.) | 
| .gif) | ToString | (Inherited from NamedComponent.) | 
| .gif) | Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.) | 
| .gif) | Validate(ValidationErrorCollection, Boolean) | Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Inherited from ModelComponent.) | 
| .gif) | Validate(ValidationErrorCollection, Boolean, ServerEdition) | (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | ICloneable.Clone | |
| .gif) .gif) | IFormattable.ToString | (Inherited from NamedComponent.) | 
| .gif) .gif) | IHostableComponent.Host | (Inherited from ModelComponent.) | 
| .gif) .gif) | IModelComponent.FriendlyPath | (Inherited from ModelComponent.) | 
| .gif) .gif) | IModelComponent.OwningCollection | (Inherited from ModelComponent.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)