Share via


Clase ModelComponent

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

Jerarquía de herencia

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Más...

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")> _
Public MustInherit Class ModelComponent _
    Inherits Component _
    Implements IModelComponent, IComponent, IDisposable, IHostableComponent
'Uso
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

El tipo ModelComponent expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido ModelComponent Initializes a new instance of the ModelComponent class using the default values.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Annotations Gets a collection within which you can store custom data.
Propiedad protegida CanRaiseEvents (Se hereda de Component.)
Propiedad pública Container (Se hereda de Component.)
Propiedad protegida DesignMode (Se hereda de Component.)
Propiedad protegida Events (Se hereda de Component.)
Propiedad protegida FriendlyName Infraestructura. Gets the friendly name of the ModelComponent.
Propiedad protegida KeyForCollection Infraestructura. Gets the key used in the collection.
Propiedad pública OwningCollection Gets or sets the collection that contains the ModelComponent.
Propiedad pública Parent Infraestructura. Gets the IModelComponent object that is the parent of the ModelComponent object.
Propiedad pública Site (Se hereda de Component.)

Arriba

Métodos

  Nombre Descripción
Método protegido AddToContainer Infraestructura. Adds a ModelComponent object to the specified container.
Método protegido AfterInsert Infraestructura. Displays a ModelComponent object after added to the specified index.
Método protegido AfterMove Infraestructura. Displays a ModelComponent object after moving to the specified index.
Método protegido AfterRemove Infraestructura. Displays a ModelComponentCollection after a ModelComponent object is removed.
Método protegido BeforeRemove Infraestructura. Removes the ModelComponent object before the cleanup.
Método protegido CopyTo Infraestructura. Copies a ModelComponent object to the specified object.
Método público CreateObjRef Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método público Dispose() (Se hereda de Component.)
Método protegido Dispose(Boolean) (Se hereda de Component.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Component.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método protegido GetService (Se hereda de Component.)
Método público GetType (Se hereda de Object.)
Método público InitializeLifetimeService Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método protegido MemberwiseClone() (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método protegido RemoveFromContainer Infraestructura. Removes a ModelComponent object from the specified container.
Método protegido Reset Infraestructura. Resets the component to an initial state.
Método público Submit() Infraestructura. Submits a ModelComponent object.
Método público Submit(Boolean) Infraestructura. Submits a ModelComponent object.
Método público ToString Infraestructura. Returns a string that represents the current object. (Invalida Component.ToString().)
Método público Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection.
Método público 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étodo público Validate(ValidationErrorCollection, Boolean, ServerEdition) Indicates whether a ModelComponent object is valid.

Arriba

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasPropiedad privada IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent.
Implementación de interfaces explícitasPropiedad privada IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent.
Implementación de interfaces explícitasPropiedad privada IModelComponent.OwningCollection Gets or sets the collection that owns the current object.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.AnalysisServices

Jerarquía de herencia

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