Partager via


Méthode CubeCollection.Find

Gets the specified CubeDef from the collection by its name.

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

Syntaxe

'Déclaration
Public Function Find ( _
    name As String _
) As CubeDef
'Utilisation
Dim instance As CubeCollection 
Dim name As String 
Dim returnValue As CubeDef 

returnValue = instance.Find(name)
public CubeDef Find(
    string name
)
public:
CubeDef^ Find(
    String^ name
)
member Find : 
        name:string -> CubeDef
public function Find(
    name : String
) : CubeDef

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices.AdomdServer.CubeDef
The Find method returns nullune référence Null (Nothing dans Visual Basic) if the object is not found, whereas the Itemproperty throws an exception if the object is not found.

Voir aussi

Référence

CubeCollection Classe

Espace de noms Microsoft.AnalysisServices.AdomdServer