Partager via


CubeDef.NamedSets Property

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

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
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

Valeur de propriété

A NamedSetCollection that contains the named sets for the CubeDef.

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

CubeDef Class
CubeDef Members
Microsoft.AnalysisServices.AdomdClient Namespace