Measure Measure Measure Class

Definition

Defines a fact attribute for which an aggregation is obtained. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
public sealed class Measure : Microsoft.AnalysisServices.NamedComponent, ICloneable
type Measure = class
    inherit NamedComponent
    interface ICloneable
Public NotInheritable Class Measure
Inherits NamedComponent
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

Measure() Measure() Measure()

Initializes a new instance of Measure using the default values.

Measure(String) Measure(String) Measure(String)

Initializes a new instance of Measure using the specified name.

Measure(String, String) Measure(String, String) Measure(String, String)

Initializes a new instance of Measure using the specified name and identifier.

Properties

AggregateFunction AggregateFunction AggregateFunction

Gets or sets the aggregate function applied to current measure.

Annotations Annotations Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
BackColor BackColor BackColor

Gets or sets the BackColor for display of a Measure.

DataType DataType DataType

Gets or sets the current measure data type.

Description Description Description

Gets or sets the description of the component.

(Inherited from NamedComponent)
DisplayFolder DisplayFolder DisplayFolder

Gets or sets the DisplayFolder information of the Measure, for use by clients.

FontFlags FontFlags FontFlags

Gets or sets the FontFlags information of the Measure, for use by clients.

FontName FontName FontName

Gets or sets the FontName information of the Measure, for use by clients.

FontSize FontSize FontSize

Gets or sets the FontSize information of the Measure, for use by clients.

ForeColor ForeColor ForeColor

Gets or sets the ForeColor information of the Measure, for use by clients.

FormatString FormatString FormatString

Gets or sets the FormatString information of the Measure, for use by clients.

FriendlyName FriendlyName FriendlyName

Gets a user-friendly name for the component.

(Inherited from NamedComponent)
ID ID ID

Gets or sets the identifier of the component.

(Inherited from NamedComponent)
IHostableComponent.Host IHostableComponent.Host IHostableComponent.Host Inherited from ModelComponent
IModelComponent.FriendlyPath IModelComponent.FriendlyPath IModelComponent.FriendlyPath Inherited from ModelComponent
IModelComponent.OwningCollection IModelComponent.OwningCollection IModelComponent.OwningCollection Inherited from ModelComponent
IsLinked IsLinked IsLinked

Gets an indicatation whether the current measure is linked.

KeyForCollection KeyForCollection KeyForCollection

Gets the key used in collections.

(Inherited from NamedComponent)
MeasureExpression MeasureExpression MeasureExpression

Gets or sets the measure expression.

Name Name Name

Gets or sets the name of the component.

(Inherited from NamedComponent)
OwningCollection OwningCollection OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent Parent Parent

Gets the parent MeasureGroup object of the Measure object.

ParentCube ParentCube ParentCube

Gets the parent Cube object of the Measure object.

ParentDatabase ParentDatabase ParentDatabase

Gets the parent Database object of the Measure object.

ParentServer ParentServer ParentServer

Gets the parent Server object of the Measure object.

Site Site Site

Gets or sets the site associated with the component.

(Inherited from NamedComponent)
SiteID SiteID SiteID

Gets or sets the identifier for the site associated with the component.

(Inherited from NamedComponent)
Source Source Source

Gets or sets the source data item for the current measure.

Translations Translations Translations

Gets the collection of translations for the current measure.

Visible Visible Visible

Gets or sets an indication whether the Measure should be visible to the client.

Methods

AddToContainer(IContainer) AddToContainer(IContainer) AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32) AfterInsert(Int32) AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32) AfterMove(Int32, Int32) AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean) BeforeRemove(Boolean) BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone() Clone() Clone()

Returns a clone of the object.

CopyTo(Measure) CopyTo(Measure) CopyTo(Measure)

Copies the content of this object to another object (the destination).

CopyTo(ModelComponent) CopyTo(ModelComponent) CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent) CopyTo(NamedComponent) CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

(Inherited from NamedComponent)
RemoveFromContainer(IContainer) RemoveFromContainer(IContainer) RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset() Reset() Reset()

Resets the component to its initial state.

(Inherited from NamedComponent)
Submit() Submit() Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean) Submit(Boolean) Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString() ToString() ToString()

Returns a string representing the named-component.

(Inherited from NamedComponent)
Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) 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)
Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the Measure is valid.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()
IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) Inherited from NamedComponent

Fields

MaxIDLength MaxIDLength MaxIDLength

Specifies the maximum length of the identifier.

(Inherited from NamedComponent)
MaxNameLength MaxNameLength MaxNameLength

Specifies the maximum length of the name.

(Inherited from NamedComponent)

Applies to