Condividi tramite


CubeDef.NamedSets Property

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

Spazio dei nomi: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintassi

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

Valore proprietà

A NamedSetCollection that contains the named sets for the CubeDef.

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

CubeDef Class
CubeDef Members
Microsoft.AnalysisServices.AdomdClient Namespace