Compartir a través de


CubeDef.NamedSets Propiedad

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public ReadOnly Property NamedSets As NamedSetCollection 
    Get
'Uso
Dim instance As CubeDef 
Dim value As NamedSetCollection 

value = instance.NamedSets
public NamedSetCollection NamedSets { get; }
public:
property NamedSetCollection^ NamedSets {
    NamedSetCollection^ get ();
}
member NamedSets : NamedSetCollection
function get NamedSets () : NamedSetCollection

Valor de la propiedad

Tipo: Microsoft.AnalysisServices.AdomdClient.NamedSetCollection
A NamedSetCollection that contains the named sets for the CubeDef.

Comentarios

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.

Vea también

Referencia

CubeDef Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdClient