Класс ModelComponent
Represents the base class for most of the Analysis Management Objects.
Иерархия наследования
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Подробнее...
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("FBB03F30-DECD-4a40-9E8F-06ACB99A0A97")> _
Public MustInherit Class ModelComponent _
Inherits Component _
Implements IModelComponent, IComponent, IDisposable, IHostableComponent
'Применение
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
Тип ModelComponent обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
ModelComponent | Initializes a new instance of the ModelComponent class using the default values. |
В начало
Свойства
Имя | Описание | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. | |
CanRaiseEvents | (Производный от Component.) | |
Container | (Производный от Component.) | |
DesignMode | (Производный от Component.) | |
Events | (Производный от Component.) | |
FriendlyName | Инфраструктура. Gets the friendly name of the ModelComponent. | |
KeyForCollection | Инфраструктура. Gets the key used in the collection. | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. | |
Parent | Инфраструктура. Gets the IModelComponent object that is the parent of the ModelComponent object. | |
Site | (Производный от Component.) |
В начало
Методы
Имя | Описание | |
---|---|---|
AddToContainer | Инфраструктура. Adds a ModelComponent object to the specified container. | |
AfterInsert | Инфраструктура. Displays a ModelComponent object after added to the specified index. | |
AfterMove | Инфраструктура. Displays a ModelComponent object after moving to the specified index. | |
AfterRemove | Инфраструктура. Displays a ModelComponentCollection after a ModelComponent object is removed. | |
BeforeRemove | Инфраструктура. Removes the ModelComponent object before the cleanup. | |
CopyTo | Инфраструктура. Copies a ModelComponent object to the specified object. | |
CreateObjRef | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
Dispose() | (Производный от Component.) | |
Dispose(Boolean) | (Производный от Component.) | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Component.) | |
GetHashCode | (Производный от Object.) | |
GetLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
GetService | (Производный от Component.) | |
GetType | (Производный от Object.) | |
InitializeLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
MemberwiseClone() | (Производный от Object.) | |
MemberwiseClone(Boolean) | (Производный от MarshalByRefObject.) | |
RemoveFromContainer | Инфраструктура. Removes a 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. (Переопределяет Component.ToString().) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. | |
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, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. |
В начало
События
Имя | Описание | |
---|---|---|
Disposed | (Производный от Component.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.AnalysisServices
Иерархия наследования
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