CubeDef.NamedSets Property

Gets an instance of the NamedSetCollection class that contains the named sets for the CubeDef.

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
Public ReadOnly Property NamedSets As NamedSetCollection
public NamedSetCollection NamedSets { get; }
public:
property NamedSetCollection^ NamedSets {
    NamedSetCollection^ get ();
}
/** @property */
public NamedSetCollection get_NamedSets ()
public function get NamedSets () : NamedSetCollection

属性值

A NamedSetCollection that contains the named sets for the CubeDef.

备注

Named sets provide an alias for commonly used set expressions in a given cube. Instead of copying and pasting lengthy set expressions into queries, a query can reference the alias of a named set.

The NamedSets property retrieves a collection of NamedSet objects that represent the named sets associated with a given cube.

线程安全

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 的硬件和软件要求。

请参阅

参考

CubeDef Class
CubeDef Members
Microsoft.AnalysisServices.AdomdClient Namespace