Compartilhar via


CubeDef.NamedSets Property

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

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
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

Property Value

A NamedSetCollection that contains the named sets for the CubeDef.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CubeDef Class
CubeDef Members
Microsoft.AnalysisServices.AdomdClient Namespace