Classe CalculationProperty

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

Hiérarchie d'héritage

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.CalculationProperty

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("B76F2594-6867-4e8a-B314-FA8372C31760")> _
Public NotInheritable Class CalculationProperty _
    Inherits ModelComponent _
    Implements ICloneable
'Utilisation
Dim instance As CalculationProperty
[GuidAttribute("B76F2594-6867-4e8a-B314-FA8372C31760")]
public sealed class CalculationProperty : ModelComponent, 
    ICloneable
[GuidAttribute(L"B76F2594-6867-4e8a-B314-FA8372C31760")]
public ref class CalculationProperty sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("B76F2594-6867-4e8a-B314-FA8372C31760")>]
type CalculationProperty =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class CalculationProperty extends ModelComponent implements ICloneable

Le type CalculationProperty expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique CalculationProperty() Initializes a new instance of the CalculationProperty class using default values.
Méthode publique CalculationProperty(String) Initializes a new instance of CalculationProperty using a calculation reference parameter.
Méthode publique CalculationProperty(String, CalculationType) Initializes a new instance of CalculationProperty using a calculation reference and a type parameter.

Haut de la page

Propriétés

  Nom Description
Propriété publique Annotations Gets a collection within which you can store custom data. (hérité de ModelComponent.)
Propriété publique AssociatedMeasureGroupID Gets or sets an associated measure group identifier for a CalculationProperty object.
Propriété publique BackColor Gets or sets the background color for a CalculationProperty object.
Propriété publique CalculationReference Gets or sets the name of the calculation defined in the MDX script object.
Propriété publique CalculationType Gets or sets the calculation type associated with a CalculationProperty object.
Propriété publique Container (hérité de Component.)
Propriété publique Description Gets or sets the description of a CalculationProperty object.
Propriété publique DisplayFolder Gets or sets the folder in which to list the parent CalculationProperty object.
Propriété publique FontFlags Gets or sets font-related display characteristics of the CalculationProperty object.
Propriété publique FontName Gets or sets font name of the CalculationProperty object.
Propriété publique FontSize Gets or sets font name of the CalculationProperty object.
Propriété publique ForeColor Gets or sets the foreground color for a CalculationProperty object.
Propriété publique FormatString Gets or sets the display format for a CalculationProperty object.
Propriété protégée FriendlyName Infrastructure. Gets the friendly name of the ModelComponent. (hérité de ModelComponent.)
Propriété protégée KeyForCollection Infrastructure. Gets the key used in the collection. (hérité de ModelComponent.)
Propriété publique Language Gets or sets the language associated with a CalculationProperty object.
Propriété publique NonEmptyBehavior Gets or sets non-empty behavior for a parent CalculationProperty object.
Propriété publique OwningCollection Gets or sets the collection that contains the ModelComponent. (hérité de ModelComponent.)
Propriété publique Parent Gets the MDX script that defines the parent of a CalculationProperty object.
Propriété publique ParentCube Gets the parent Cube of the CalculationProperty object.
Propriété publique ParentDatabase Gets the parent Database of the CalculationProperty object.
Propriété publique ParentServer Gets the parent Server of the CalculationProperty object.
Propriété publique Site (hérité de Component.)
Propriété publique SolveOrder Gets or sets the solve order value for a CalculationProperty object.
Propriété publique Translations Gets the translations associated with a CalculationProperty object.
Propriété publique Visible Gets or sets the visibility property associated with a CalculationProperty object.
Propriété publique VisualizationProperties Gets or sets the visualization properties

Haut de la page

Méthodes

  Nom Description
Méthode protégée AddToContainer Infrastructure. Adds a ModelComponent object to the specified container. (hérité de ModelComponent.)
Méthode protégée AfterInsert Infrastructure. Displays a ModelComponent object after added to the specified index. (hérité de ModelComponent.)
Méthode protégée AfterMove Infrastructure. Displays a ModelComponent object after moving to the specified index. (hérité de ModelComponent.)
Méthode protégée AfterRemove Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (hérité de ModelComponent.)
Méthode protégée BeforeRemove Infrastructure. Removes the ModelComponent object before the cleanup. (hérité de ModelComponent.)
Méthode publique Clone Creates a new, full copy of an object.
Méthode publique CopyTo Copies a CalculationProperty object to the specified object.
Méthode publique CreateObjRef Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique Dispose (hérité de Component.)
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetLifetimeService Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique InitializeLifetimeService Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode protégée RemoveFromContainer Infrastructure. Removes a ModelComponent object from the specified container. (hérité de ModelComponent.)
Méthode publique Submit() Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.)
Méthode publique Submit(Boolean) Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.)
Méthode publique ToString Infrastructure. Returns a string that represents the current object. (hérité de ModelComponent.)
Méthode publique Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (hérité de ModelComponent.)
Méthode publique 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. (hérité de ModelComponent.)
Méthode publique Validate(ValidationErrorCollection, Boolean, ServerEdition) Indicates whether the calculation property is valid. (remplace ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

Haut de la page

Événements

  Nom Description
Événement public Disposed (hérité de Component.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICloneable.Clone Creates a new, full copy of an object.
Implémentation d'interface explicitePropriété privée IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (hérité de ModelComponent.)
Implémentation d'interface explicitePropriété privée IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (hérité de ModelComponent.)
Implémentation d'interface explicitePropriété privée IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (hérité de ModelComponent.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.AnalysisServices