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

页首

方法

  名称 说明
公共方法 {dtor} Releases the unmanaged resources used by the NamedSet.
公共方法 Dispose Releases the unmanaged resources used by the NamedSet.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。