Partager via


Classe CubeDef

Represents the metadata for a cube.

Hiérarchie d'héritage

System.Object
  Microsoft.AnalysisServices.AdomdClient.CubeDef

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public NotInheritable Class CubeDef
'Utilisation
Dim instance As CubeDef
public sealed class CubeDef
public ref class CubeDef sealed
[<SealedAttribute>]
type CubeDef =  class end
public final class CubeDef

Le type CubeDef expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Caption Gets the caption of the CubeDef.
Propriété publique Description Gets the description of the CubeDef.
Propriété publique Dimensions Gets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class.
Propriété publique Kpis Gets the Key Performance Indicators (KPIs) associated with the CubeDef. This member is not supported for versions of Analysis Services earlier than Microsoft SQL Server 2005 Analysis Services (SSAS).
Propriété publique LastProcessed Gets the date and time on which the CubeDef was last processed.
Propriété publique LastUpdated Gets the date and time on which the CubeDef was last updated.
Propriété publique Measures Gets an instance of the MeasureCollection class that contains the measures for the CubeDef.
Propriété publique Name Gets the name of the CubeDef.
Propriété publique NamedSets Gets an instance of the NamedSetCollection class that contains the named sets for the CubeDef.
Propriété publique ParentConnection Gets an instance of the AdomdConnection class that contains the CubeDef.
Propriété publique Properties Gets an instance of a PropertyCollection class that contains the properties associated with the CubeDef.
Propriété publique Type Returns the CubeType of the cube, if supported by the provider.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two instances of Object are equal. (remplace Object.Equals(Object).)
Méthode publique GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (remplace Object.GetHashCode().)
Méthode publique GetSchemaObject(SchemaObjectType, String) Returns an object associated with the CubeDef from a specified schema rowset.
Méthode publique GetSchemaObject(SchemaObjectType, String, Boolean) Returns an object associated with the CubeDef from a specified schema rowset.
Méthode publique GetType (hérité de Object.)
Méthode publique ToString Returns a String that represents the current CubeDef. (remplace Object.ToString().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality Determines whether two specified instances of CubeDef are equal.
Opérateur publicMembre statique Inequality Determines whether two specified instances of CubeDef have different values.

Haut de la page

Notes

In Analysis Services, a cube is a collection of measures and dimensions.

In ADOMD.NET, the CubeDef represents only the metadata of a cube. You cannot retrieve cell data from a CubeDef; instead, this object provides a mechanism for retrieving metadata about a given cube as well as its dimensions, measures, and named sets for a client application.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.AnalysisServices.AdomdClient