共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。