Поделиться через


Класс Hierarchy

Represents a hierarchy in a dimension. This class cannot be inherited.

Иерархия наследования

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    System.ComponentModel. . :: . .Component
      Microsoft.AnalysisServices. . :: . .ModelComponent
        Microsoft.AnalysisServices. . :: . .NamedComponent
          Microsoft.AnalysisServices..::..Hierarchy

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
<GuidAttribute("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")> _
Public NotInheritable Class Hierarchy _
    Inherits NamedComponent _
    Implements ICloneable
'Применение
Dim instance As Hierarchy
[GuidAttribute("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")]
public sealed class Hierarchy : NamedComponent, 
    ICloneable
[GuidAttribute(L"DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")]
public ref class Hierarchy sealed : public NamedComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")>]
type Hierarchy =  
    class
        inherit NamedComponent
        interface ICloneable
    end
public final class Hierarchy extends NamedComponent implements ICloneable

Тип Hierarchy обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Hierarchy() () () () Initializes a new instance of the Hierarchy class using default values.
Открытый метод Hierarchy(String) Initializes a new instance of Hierarchy using a name.
Открытый метод Hierarchy(String, String) Initializes a new instance of Hierarchy, using a name and an identifier.

В начало

Свойства

  Имя Описание
Открытое свойство AllMemberName Gets or sets the all member name property of the Hierarchy object.
Открытое свойство AllMemberTranslations Gets the all member translations property of the Hierarchy object.
Открытое свойство AllowDuplicateNames Gets or sets the Boolean value to allow duplicate names for a Hierarchy object.
Открытое свойство Annotations Gets a collection within which you can store custom data. (Производный от ModelComponent.)
Защищенное свойство CanRaiseEvents (Производный от Component.)
Открытое свойство Container (Производный от Component.)
Открытое свойство Description (Производный от NamedComponent.)
Защищенное свойство DesignMode (Производный от Component.)
Открытое свойство DisplayFolder Gets or sets the display folder associated with the Hierarchy object.
Защищенное свойство Events (Производный от Component.)
Защищенное свойство FriendlyName (Производный от NamedComponent.)
Открытое свойство ID (Производный от NamedComponent.)
Защищенное свойство KeyForCollection (Производный от NamedComponent.)
Открытое свойство Levels Gets the levels associated with the Hierarchy object.
Открытое свойство MemberKeysUnique
Открытое свойство MemberNamesUnique Gets or sets the property member names unique for the Hierarchy object.
Открытое свойство Name (Производный от NamedComponent.)
Открытое свойство OwningCollection Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.)
Открытое свойство Parent Gets the parent Dimension of the Hierarchy object.
Открытое свойство ParentDatabase Gets the parent Database of the Hierarchy object.
Открытое свойство ParentServer Gets the parent Server of the Hierarchy object.
Открытое свойство Site (Производный от NamedComponent.)
Открытое свойство SiteID (Производный от NamedComponent.)
Открытое свойство Translations Gets the collection of translations associated with a Hierarchy object.

В начало

Методы

  Имя Описание
Защищенный метод AddToContainer Инфраструктура. (Производный от ModelComponent.)
Защищенный метод AfterInsert Инфраструктура. (Производный от ModelComponent.)
Защищенный метод AfterMove Инфраструктура. (Производный от ModelComponent.)
Защищенный метод AfterRemove Инфраструктура. (Производный от ModelComponent.)
Защищенный метод BeforeRemove Инфраструктура. (Производный от ModelComponent.)
Открытый метод Clone Creates a new, full copy of an object.
Открытый метод CopyTo(Hierarchy) Copies a Hierarchy object to the specified object.
Защищенный метод CopyTo(ModelComponent) Инфраструктура. (Производный от ModelComponent.)
Защищенный метод CopyTo(NamedComponent) (Производный от NamedComponent.)
Открытый метод 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 Инфраструктура. (Производный от ModelComponent.)
Защищенный метод Reset (Производный от NamedComponent.)
Открытый метод Submit() () () () Инфраструктура. (Производный от ModelComponent.)
Открытый метод Submit(Boolean) Инфраструктура. (Производный от ModelComponent.)
Открытый метод ToString (Производный от NamedComponent.)
Открытый метод Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Производный от ModelComponent.)
Открытый метод 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. (Производный от ModelComponent.)
Открытый метод Validate(ValidationErrorCollection, Boolean, ServerEdition) (Переопределяет NamedComponent. . :: . .Validate(ValidationErrorCollection, Boolean, ServerEdition).)

В начало

События

  Имя Описание
Открытое событие Disposed (Производный от Component.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICloneable. . :: . .Clone
Явная реализация интерфейсаЗакрытый метод IFormattable. . :: . .ToString (Производный от NamedComponent.)
Явная реализация интерфейсаЗакрытое свойство IHostableComponent. . :: . .Host (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent. . :: . .FriendlyPath (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent. . :: . .OwningCollection (Производный от ModelComponent.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник