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


Класс NamedSet

Represents a named set for a given cube.

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

System.Object
  Microsoft.AnalysisServices.AdomdServer.NamedSet

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

Синтаксис

'Декларация
Public NotInheritable Class NamedSet _
    Implements IDisposable, IMetadataObject
'Применение
Dim instance As NamedSet
public sealed class NamedSet : IDisposable, 
    IMetadataObject
public ref class NamedSet sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type NamedSet =  
    class 
        interface IDisposable 
        interface IMetadataObject 
    end
public final class NamedSet implements IDisposable, IMetadataObject

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

Свойства

  Имя Описание
Открытое свойство Description Gets the description of the NamedSet.
Открытое свойство Expression Gets the MDX set expression that defines the NamedSet.
Открытое свойство Name Gets the name of the NamedSet.
Открытое свойство ParentCube Gets a CubeDef that contains the NamedSet.
Открытое свойство Properties Gets a PropertyCollection that contains the properties associated with the NamedSet.
Открытое свойство UniqueName Gets the unique name of the NamedSet.

В начало

Методы

  Имя Описание
Открытый метод {dtor} Releases the unmanaged resources used by the NamedSet.
Открытый метод Dispose Releases the unmanaged resources used by the NamedSet.
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

A named set is a persisted set expression, which is associated with an alias and defined as part of the structure of a cube. In Multidimensional Expressions (MDX), a set expression can be a lengthy and complex declaration. A named set makes it easier to manage a set expression that is used regularly in MDX or XML for Analysis queries that involve the cube and provides a way of maintaining the set expression independently of the queries that use it.

A NamedSet encapsulates the alias and set expression of a named set, so that the metadata of the named set can be examined and incorporated into queries.

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

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

См. также

Справочник

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