Classe ModelComponent

Represents the base class for most of the Analysis Management Objects.

Hiérarchie d'héritage

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

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

Syntaxe

'Déclaration
<GuidAttribute("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")> _
Public MustInherit Class ModelComponent _
    Inherits Component _
    Implements IModelComponent, IComponent, IDisposable, IHostableComponent
'Utilisation
Dim instance As ModelComponent
[GuidAttribute("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")]
public abstract class ModelComponent : Component, 
    IModelComponent, IComponent, IDisposable, IHostableComponent
[GuidAttribute(L"FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")]
public ref class ModelComponent abstract : public Component, 
    IModelComponent, IComponent, IDisposable, IHostableComponent
[<AbstractClassAttribute>]
[<GuidAttribute("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")>]
type ModelComponent =  
    class 
        inherit Component 
        interface IModelComponent 
        interface IComponent 
        interface IDisposable 
        interface IHostableComponent 
    end
public abstract class ModelComponent extends Component implements IModelComponent, IComponent, IDisposable, IHostableComponent

Le type ModelComponent expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée ModelComponent Initializes a new instance of the ModelComponent class using the default values.

Haut de la page

Propriétés

  Nom Description
Propriété publique Annotations Gets a collection within which you can store custom data.
Propriété protégée CanRaiseEvents (hérité de Component.)
Propriété publique Container (hérité de Component.)
Propriété protégée DesignMode (hérité de Component.)
Propriété protégée Events (hérité de Component.)
Propriété protégée FriendlyName Infrastructure. Gets the friendly name of the ModelComponent.
Propriété protégée KeyForCollection Infrastructure. Gets the key used in the collection.
Propriété publique OwningCollection Gets or sets the collection that contains the ModelComponent.
Propriété publique Parent Infrastructure. Gets the IModelComponent object that is the parent of the ModelComponent object.
Propriété publique Site (hérité de Component.)

Haut de la page

Méthodes

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

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 explicitePropriété privée IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent.
Implémentation d'interface explicitePropriété privée IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent.
Implémentation d'interface explicitePropriété privée IModelComponent.OwningCollection Gets or sets the collection that owns the current object.

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

Hiérarchie d'héritage

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.Account
        Microsoft.AnalysisServices.AggregationAttribute
        Microsoft.AnalysisServices.AggregationDesignAttribute
        Microsoft.AnalysisServices.AggregationDesignDimension
        Microsoft.AnalysisServices.AggregationDimension
        Microsoft.AnalysisServices.AggregationInstanceAttribute
        Microsoft.AnalysisServices.AggregationInstanceDimension
        Microsoft.AnalysisServices.AggregationInstanceMeasure
        Microsoft.AnalysisServices.AttributePermission
        Microsoft.AnalysisServices.AttributeRelationship
        Microsoft.AnalysisServices.CalculationProperty
        Microsoft.AnalysisServices.CellPermission
        Microsoft.AnalysisServices.CubeAttribute
        Microsoft.AnalysisServices.CubeDimensionPermission
        Microsoft.AnalysisServices.CubeHierarchy
        Microsoft.AnalysisServices.MeasureGroupAttribute
        Microsoft.AnalysisServices.MeasureGroupDimension
        Microsoft.AnalysisServices.NamedComponent
        Microsoft.AnalysisServices.PerspectiveAction
        Microsoft.AnalysisServices.PerspectiveAttribute
        Microsoft.AnalysisServices.PerspectiveCalculation
        Microsoft.AnalysisServices.PerspectiveDimension
        Microsoft.AnalysisServices.PerspectiveHierarchy
        Microsoft.AnalysisServices.PerspectiveKpi
        Microsoft.AnalysisServices.PerspectiveMeasure
        Microsoft.AnalysisServices.PerspectiveMeasureGroup
        Microsoft.AnalysisServices.Relationship
        Microsoft.AnalysisServices.RelationshipEnd
        Microsoft.AnalysisServices.RelationshipEndAttribute
        Microsoft.AnalysisServices.Translation