共用方式為


NamedSet Class

Represents a named set for a given cube.

命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.dll)

語法

'宣告
Public NotInheritable Class NamedSet
    Inherits IMetadataObject
    Implements IDisposable
public sealed class NamedSet : IMetadataObject, IDisposable
public ref class NamedSet sealed : public IMetadataObject, IDisposable
public final class NamedSet extends IMetadataObject implements IDisposable
public final class NamedSet extends IMetadataObject implements IDisposable

備註

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.

Inheritance Hierarchy

System.Object
   Microsoft.AnalysisServices.AdomdServer.IMetadataObject
    Microsoft.AnalysisServices.AdomdServer.NamedSet

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

NamedSet Members
Microsoft.AnalysisServices.AdomdServer Namespace