Export (0) Print
Expand All

Measure Class

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

Object
  MarshalByRefObject
    Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.Measure

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

[GuidAttribute("0BFFF8F1-34F2-4408-8218-29E5D6E66014")]
[DesignerAttribute("Microsoft.AnalysisServices.Design.MeasureDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")]
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.
Public propertyContainer (Inherited from Component.)
Public propertyDataTypeGets or sets the current measure data type.
Public propertyDescriptionGets or sets the description of the component. (Inherited from NamedComponent.)
Public propertyDisplayFolderGets or sets the DisplayFolder information of the Measure, for use by clients.
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 propertyFriendlyNameReturns a user-friendly name. (Inherited from NamedComponent.)
Public propertyIDGets or sets the identifier of the component. (Inherited from NamedComponent.)
Public propertyIsLinkedGets or sets a value that indicates whether the current measure is linked.
Protected propertyKeyForCollectionReturns the key used in collections. (Inherited from NamedComponent.)
Public propertyMeasureExpressionGets or sets the measure expression.
Public propertyNameGets or sets the name of the component. (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 propertySiteInfrastructure. Gets or sets the site of the component. (Inherited from NamedComponent.)
Public propertySiteIDInfrastructure. Gets or sets the identifier for the site associated with the component. (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. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.)
Public methodCloneCreates a new full copy of an object.
Public methodCopyToCopies a Measure to the specified object.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.)
Public methodSubmit()Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodToStringReturns a string containing the name of the component. (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)Determines whether the Measure is valid. (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneableCloneCreates a new copy of this object instance.
Explicit interface implemetationPrivate methodIFormattableToStringFormats the value of the current instance using the specified format. (Inherited from NamedComponent.)
Explicit interface implemetationPrivate propertyIHostableComponent.HostGets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.FriendlyPathGets a friendly path for the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.OwningCollectionGets or sets the collection that owns the current object. (Inherited from ModelComponent.)
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.

Community Additions

ADD
Show:
© 2014 Microsoft