Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Measure Class

 

Applies To: SQL Server 2016 Preview

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")]
[DesignerAttribute("Microsoft.AnalysisServices.Design.MeasureDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")]
public sealed class Measure : NamedComponent, ICloneable

NameDescription
System_CAPS_pubmethodMeasure()

Initializes a new instance of Measure using the default values.

System_CAPS_pubmethodMeasure(String)

Initializes a new instance of Measure using a name.

System_CAPS_pubmethodMeasure(String, String)

Initializes a new instance of Measure using a name and an identifier.

NameDescription
System_CAPS_pubpropertyAggregateFunction

Gets or sets the aggregate function applied to current measure.

System_CAPS_pubpropertyAnnotations

Gets a collection within which you can store custom data.(Inherited from ModelComponent.)

System_CAPS_pubpropertyBackColor

Gets or sets the BackColor for display of a Measure.

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_pubpropertyDataType

Gets or sets the current measure data type.

System_CAPS_pubpropertyDescription

Gets or sets the description of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertyDisplayFolder

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

System_CAPS_pubpropertyFontFlags

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

System_CAPS_pubpropertyFontName

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

System_CAPS_pubpropertyFontSize

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

System_CAPS_pubpropertyForeColor

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

System_CAPS_pubpropertyFormatString

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

System_CAPS_protpropertyFriendlyName

Returns a user-friendly name.(Inherited from NamedComponent.)

System_CAPS_pubpropertyID

Gets or sets the identifier of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertyIsLinked

Gets or sets a value that indicates whether the current measure is linked.

System_CAPS_protpropertyKeyForCollection

Returns the key used in collections.(Inherited from NamedComponent.)

System_CAPS_pubpropertyMeasureExpression

Gets or sets the measure expression.

System_CAPS_pubpropertyName

Gets or sets the name of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertyOwningCollection

Gets or sets the collection that contains the ModelComponent.(Inherited from ModelComponent.)

System_CAPS_pubpropertyParent

Gets the MeasureGroup that is the parent of the Measure.

System_CAPS_pubpropertyParentCube

Gets the Cube object that is the parent of the Measure object.

System_CAPS_pubpropertyParentDatabase

Gets the Database object that is the parent of the Measure.

System_CAPS_pubpropertyParentServer

Gets the Server object that is the parent of the Measure.

System_CAPS_pubpropertySite

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the site of the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertySiteID

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the identifier for the site associated with the component.(Inherited from NamedComponent.)

System_CAPS_pubpropertySource

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

System_CAPS_pubpropertyTranslations

Gets the TranslationCollection object for the current measure.

System_CAPS_pubpropertyVisible

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

NameDescription
System_CAPS_protmethodAddToContainer(IContainer)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ModelComponent object to the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterInsert(Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterMove(Int32, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterRemove(ModelComponentCollection)

This API supports the product infrastructure and is not intended to be used directly from your code. Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.)

System_CAPS_protmethodBeforeRemove(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.)

System_CAPS_pubmethodClone()

Creates a new full copy of an object.

System_CAPS_pubmethodCopyTo(Measure)

Copies a Measure to the specified object.

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodRemoveFromContainer(IContainer)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit()

This API supports the product infrastructure and is not intended to be used directly from your code. Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodToString()

Returns a string containing the name of the component.(Inherited from NamedComponent.)

System_CAPS_pubmethodValidate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.(Inherited from ModelComponent.)

System_CAPS_pubmethodValidate(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.)

System_CAPS_pubmethodValidate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the Measure is valid.(Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

NameDescription
System_CAPS_pubeventDisposed

(Inherited from Component.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable.Clone()

Creates a new copy of this object instance.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIFormattable.ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.(Inherited from NamedComponent.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

Show:
© 2015 Microsoft