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
Protected method ModelComponent Initializes a new instance of the ModelComponent class using the default values.

Top

Properties

  Name Description
Public property Annotations Gets a collection within which you can store custom data.
Protected property CanRaiseEvents (Inherited from Component.)
Public property Container (Inherited from Component.)
Protected property DesignMode (Inherited from Component.)
Protected property Events (Inherited from Component.)
Protected property FriendlyName Infrastructure.
Protected property KeyForCollection Infrastructure.
Public property OwningCollection Gets or sets the collection that contains the ModelComponent.
Public property Parent Infrastructure.
Public property Site (Inherited from Component.)

Top

Methods

  Name Description
Protected method AddToContainer Infrastructure.
Protected method AfterInsert Infrastructure.
Protected method AfterMove Infrastructure.
Protected method AfterRemove Infrastructure.
Protected method BeforeRemove Infrastructure.
Protected method CopyTo Infrastructure.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected method RemoveFromContainer Infrastructure.
Protected method Reset Infrastructure.
Public method Submit() Infrastructure.
Public method Submit(Boolean) Infrastructure.
Public method ToString Infrastructure. (Overrides Component.ToString().)
Public method Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection.
Public method 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.
Public method Validate(ValidationErrorCollection, Boolean, ServerEdition)

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IHostableComponent.Host
Explicit interface implemetationPrivate property IModelComponent.FriendlyPath
Explicit interface implemetationPrivate property 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