Compartir a través de


ModelComponent Class

Definition

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

[System.Runtime.InteropServices.Guid("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")]
public abstract class ModelComponent : System.ComponentModel.Component, IDisposable, Microsoft.AnalysisServices.Hosting.IHostableComponent, Microsoft.AnalysisServices.IModelComponent
[<System.Runtime.InteropServices.Guid("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")>]
type ModelComponent = class
    inherit Component
    interface IModelComponent
    interface IComponent
    interface IDisposable
    interface IHostableComponent
Public MustInherit Class ModelComponent
Inherits Component
Implements IDisposable, IHostableComponent, IModelComponent
Inheritance
ModelComponent
Derived
Attributes
Implements

Constructors

ModelComponent()

Properties

Annotations

Gets a collection within which you can store custom data.

FriendlyName

Gets the friendly name of the ModelComponent.

KeyForCollection

Gets the key used in collections.

OwningCollection

Gets or sets the collection that contains the ModelComponent.

Parent

Gets the IModelComponent object that is the parent of the ModelComponent object.

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

Reset()

Resets the component to an initial state.

Submit()

Submits a ModelComponent object.

Submit(Boolean)

Submits a ModelComponent object.

ToString()

Returns a string that represents the current object.

Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

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.

Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

Explicit Interface Implementations

IHostableComponent.Host
IModelComponent.FriendlyPath
IModelComponent.OwningCollection

Applies to