ModelComponent Class
This is the base class for most of the Analysis Management Objects.
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        More...
Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")> _
Public MustInherit Class ModelComponent _
    Inherits Component _
    Implements IModelComponent, IComponent, IDisposable, IHostableComponent
'Usage
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
The ModelComponent type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ModelComponent | Initializes a new instance of the ModelComponent class using the default values. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Annotations | Gets a collection within which you can store custom data. | 
| .gif) | CanRaiseEvents | (Inherited from Component.) | 
| .gif) | Container | (Inherited from Component.) | 
| .gif) | DesignMode | (Inherited from Component.) | 
| .gif) | Events | (Inherited from Component.) | 
| .gif) | FriendlyName | Infrastructure. | 
| .gif) | KeyForCollection | Infrastructure. | 
| .gif) | OwningCollection | Gets or sets the collection that contains the ModelComponent. | 
| .gif) | Parent | Infrastructure. | 
| .gif) | Site | (Inherited from Component.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddToContainer | Infrastructure. | 
| .gif) | AfterInsert | Infrastructure. | 
| .gif) | AfterMove | Infrastructure. | 
| .gif) | AfterRemove | Infrastructure. | 
| .gif) | BeforeRemove | Infrastructure. | 
| .gif) | CopyTo | Infrastructure. | 
| .gif) | CreateObjRef | (Inherited from MarshalByRefObject.) | 
| .gif) | Dispose() | (Inherited from Component.) | 
| .gif) | Dispose(Boolean) | (Inherited from Component.) | 
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Component.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetLifetimeService | (Inherited from MarshalByRefObject.) | 
| .gif) | GetService | (Inherited from Component.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | InitializeLifetimeService | (Inherited from MarshalByRefObject.) | 
| .gif) | MemberwiseClone() | (Inherited from Object.) | 
| .gif) | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | 
| .gif) | RemoveFromContainer | Infrastructure. | 
| .gif) | Reset | Infrastructure. | 
| .gif) | Submit() | Infrastructure. | 
| .gif) | Submit(Boolean) | Infrastructure. | 
| .gif) | ToString | Infrastructure. (Overrides Component.ToString().) | 
| .gif) | Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. | 
| .gif) | 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. | 
| .gif) | Validate(ValidationErrorCollection, Boolean, ServerEdition) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IHostableComponent.Host | |
| .gif) .gif) | IModelComponent.FriendlyPath | |
| .gif) .gif) | IModelComponent.OwningCollection | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
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.Translation
.gif)