Export (0) Print
Expand All

Measure Class

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

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

[GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
public sealed class Measure : NamedComponent, 
	ICloneable

The Measure type exposes the following members.

  NameDescription
Public methodMeasure()Initializes a new instance of Measure using the default values.
Public methodMeasure(String)Initializes a new instance of Measure using a name.
Public methodMeasure(String, String)Initializes a new instance of Measure using a name and an identifier.
Top

  NameDescription
Public propertyAggregateFunctionGets or sets the aggregate function applied to current measure.
Public propertyAnnotationsGets a collection within which you can store custom data. (Inherited from ModelComponent.)
Public propertyBackColorGets or sets the BackColor for display of a Measure.
Protected propertyCanRaiseEvents (Inherited from Component.)
Public propertyContainer (Inherited from Component.)
Public propertyDataTypeGets or sets the current measure data type.
Public propertyDescription (Inherited from NamedComponent.)
Protected propertyDesignMode (Inherited from Component.)
Public propertyDisplayFolderGets or sets the DisplayFolder information of the Measure, for use by clients.
Protected propertyEvents (Inherited from Component.)
Public propertyFontFlagsGets or sets the FontFlags information of the Measure, for use by clients.
Public propertyFontNameGets or sets the FontName information of the Measure, for use by clients.
Public propertyFontSizeGets or sets the FontSize information of the Measure, for use by clients.
Public propertyForeColorGets or sets the ForeColor information of the Measure, for use by clients.
Public propertyFormatStringGets or sets the FormatString information of the Measure, for use by clients.
Protected propertyFriendlyName (Inherited from NamedComponent.)
Public propertyID (Inherited from NamedComponent.)
Public propertyIsLinked
Protected propertyKeyForCollection (Inherited from NamedComponent.)
Public propertyMeasureExpression
Public propertyName (Inherited from NamedComponent.)
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentGets the MeasureGroup that is the parent of the Measure.
Public propertyParentCubeGets the Cube object that is the parent of the Measure object.
Public propertyParentDatabaseGets the Database object that is the parent of the Measure.
Public propertyParentServerGets the Server object that is the parent of the Measure.
Public propertySite (Inherited from NamedComponent.)
Public propertySiteID (Inherited from NamedComponent.)
Public propertySourceGets or sets the data item source for the current measure.
Public propertyTranslationsGets the TranslationCollection object for the current measure.
Public propertyVisibleGets or sets whether the Measure should be visible to the client.
Top

  NameDescription
Protected methodAddToContainerInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. (Inherited from ModelComponent.)
Public methodCloneCreates a new full copy of an object.
Public methodCopyTo(Measure)Copies a Measure to the specified object.
Protected methodCopyTo(ModelComponent)Infrastructure. (Inherited from ModelComponent.)
Protected methodCopyTo(NamedComponent) (Inherited from NamedComponent.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodDispose() (Inherited from Component.)
Protected methodDispose(Boolean) (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Protected methodGetService (Inherited from Component.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone() (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. (Inherited from ModelComponent.)
Protected methodReset (Inherited from NamedComponent.)
Public methodSubmit()Infrastructure. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. (Inherited from ModelComponent.)
Public methodToString (Inherited from NamedComponent.)
Public methodValidate(ValidationErrorCollection)Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.)
Public methodValidate(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.)
Public methodValidate(ValidationErrorCollection, Boolean, ServerEdition) (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft