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


Класс Account

The Account object is associated with dimensions of type Account. This class cannot be inherited.

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

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.Account

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

Синтаксис

'Декларация
<GuidAttribute("B1BDF6CB-FA26-4991-8417-E1571977DDD7")> _
Public NotInheritable Class Account _
    Inherits ModelComponent _
    Implements ICloneable
'Применение
Dim instance As Account
[GuidAttribute("B1BDF6CB-FA26-4991-8417-E1571977DDD7")]
public sealed class Account : ModelComponent, 
    ICloneable
[GuidAttribute(L"B1BDF6CB-FA26-4991-8417-E1571977DDD7")]
public ref class Account sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("B1BDF6CB-FA26-4991-8417-E1571977DDD7")>]
type Account =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class Account extends ModelComponent implements ICloneable

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

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

  Имя Описание
Открытый метод Account() Initializes a new instance of Account using the default values.
Открытый метод Account(String) Initializes a new instance of Account using an account type parameter.

В начало

Свойства

  Имя Описание
Открытое свойство AccountType Gets or sets the AccountType, which must be one of a set of fixed valid account types.
Открытое свойство AggregationFunction Gets or sets the aggregation function to use for a specified Account type.
Открытое свойство Aliases Gets the alias for the account type in Account.
Открытое свойство Annotations Gets a collection within which you can store custom data. (Производный от ModelComponent.)
Открытое свойство Container (Производный от Component.)
Защищенное свойство FriendlyName Инфраструктура. Gets the friendly name of the ModelComponent. (Производный от ModelComponent.)
Защищенное свойство KeyForCollection Инфраструктура. Gets the key used in the collection. (Производный от ModelComponent.)
Открытое свойство OwningCollection Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.)
Открытое свойство Parent Gets the parent Database of the Account object.
Открытое свойство ParentServer Gets the Server object that is the parent of the Account object.
Открытое свойство Site (Производный от Component.)

В начало

Методы

  Имя Описание
Защищенный метод AddToContainer Инфраструктура. Adds a ModelComponent object to the specified container. (Производный от ModelComponent.)
Защищенный метод AfterInsert Инфраструктура. Displays a ModelComponent object after added to the specified index. (Производный от ModelComponent.)
Защищенный метод AfterMove Инфраструктура. Displays a ModelComponent object after moving to the specified index. (Производный от ModelComponent.)
Защищенный метод AfterRemove Инфраструктура. Displays a ModelComponentCollection after a ModelComponent object is removed. (Производный от ModelComponent.)
Защищенный метод BeforeRemove Инфраструктура. Removes the ModelComponent object before the cleanup. (Производный от ModelComponent.)
Открытый метод Clone Creates a new full copy of an object.
Открытый метод CopyTo Copies an Account object to the specified object.
Открытый метод CreateObjRef Важный элемент безопасности. (Производный от MarshalByRefObject.)
Открытый метод Dispose (Производный от Component.)
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetLifetimeService Важный элемент безопасности. (Производный от MarshalByRefObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод InitializeLifetimeService Важный элемент безопасности. (Производный от MarshalByRefObject.)
Защищенный метод RemoveFromContainer Инфраструктура. Removes a ModelComponent object from the specified container. (Производный от ModelComponent.)
Открытый метод Submit() Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.)
Открытый метод Submit(Boolean) Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.)
Открытый метод ToString Инфраструктура. Returns a string that represents the current object. (Производный от ModelComponent.)
Открытый метод 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) Indicates whether a ModelComponent object is valid. (Производный от ModelComponent.)

В начало

События

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

В начало

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

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICloneable.Clone Creates a new instance that is a copy of the current object.
Явная реализация интерфейсаЗакрытое свойство IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Производный от ModelComponent.)
Явная реализация интерфейсаЗакрытое свойство IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Производный от ModelComponent.)

В начало

Замечания

Dimensions of type Account may have an attribute marked as providing the AccountType; the set of valid account types is fixed. See AccountType for details.

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

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

См. также

Справочник

Пространство имен Microsoft.AnalysisServices