Share via


Classe CubeDef

Represents the metadata for a cube.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..CubeDef

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

Syntaxe

'Déclaration
Public NotInheritable Class CubeDef _
    Implements IDisposable, IMetadataObject
'Utilisation
Dim instance As CubeDef
public sealed class CubeDef : IDisposable, 
    IMetadataObject
public ref class CubeDef sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type CubeDef =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class CubeDef implements IDisposable, IMetadataObject

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 Kpis associated with the CubeDef. This member is not supported for versions of Analysis Services earlier than Microsoft SSQL 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 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.
Propriété publique UniqueName

Haut de la page

Méthodes

  Nom Description
Méthode publique {dtor} Releases all resources used by the CubeDef.
Méthode publique Dispose Releases all resources used by the CubeDef.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetSchemaObject Returns an object associated with the CubeDef from a specified schema rowset.
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

In Microsoft SQL Server 2005 Analysis Services (SSAS), 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.