Jaa


CalculationProperty Class

Definition

Represents a collection of user interface properties for a calculation used in an MdxScript. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("B76F2594-6867-4e8a-B314-FA8372C31760")]
public sealed class CalculationProperty : Microsoft.AnalysisServices.ModelComponent, ICloneable
[<System.Runtime.InteropServices.Guid("B76F2594-6867-4e8a-B314-FA8372C31760")>]
type CalculationProperty = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class CalculationProperty
Inherits ModelComponent
Implements ICloneable
Inheritance
CalculationProperty
Attributes
Implements

Constructors

CalculationProperty()

Initializes a new instance of the CalculationProperty class using default values.

CalculationProperty(String, CalculationType)

Initializes a new instance of CalculationProperty using the specified calculation reference and a type.

CalculationProperty(String)

Initializes a new instance of CalculationProperty using the specified calculation reference.

Properties

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
AssociatedMeasureGroupID

Gets or sets an associated measure group identifier for a CalculationProperty object.

BackColor

Gets or sets the background color for a CalculationProperty object.

CalculationReference

Gets or sets the name of the calculation defined in the MDX script object.

CalculationType

Gets or sets the calculation type associated with a CalculationProperty object.

Description

Gets or sets the description of a CalculationProperty object.

DisplayFolder

Gets or sets the folder in which to list the parent CalculationProperty object.

FontFlags

Gets or sets font-related display characteristics of the CalculationProperty object.

FontName

Gets or sets font name of the CalculationProperty object.

FontSize

Gets or sets font name of the CalculationProperty object.

ForeColor

Gets or sets the foreground color for a CalculationProperty object.

FormatString

Gets or sets the display format for a CalculationProperty object.

FriendlyName

Gets the friendly name of the ModelComponent.

(Inherited from ModelComponent)
KeyForCollection

Gets the key used in collections.

(Inherited from ModelComponent)
Language

Gets or sets the language associated with a CalculationProperty object.

NonEmptyBehavior

Gets or sets non-empty behavior for a parent CalculationProperty object.

OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the parent MdxScript object of the CalculationProperty object.

ParentCube

Gets the parent Cube object of the CalculationProperty object.

ParentDatabase

Gets the parent Database object of the CalculationProperty object.

ParentServer

Gets the parent Server object of the CalculationProperty object.

SolveOrder

Gets or sets the solve order value for a CalculationProperty object.

Translations

Gets the translations associated with a CalculationProperty object.

Visible

Gets or sets the visibility property associated with a CalculationProperty object.

VisualizationProperties

Gets or sets the properties that can be used by reporting tools to provide enhanced formatting.

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone()

Returns a clone of the object.

CopyTo(CalculationProperty)

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

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to an initial state.

(Inherited from ModelComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string that represents the current object.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether the calculation property is valid.

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)

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

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone()
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to