Compartilhar via


Método CubeCollection.Find

Gets the specified CubeDef from the collection by its name.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.dll)

Sintaxe

'Declaração
Public Function Find ( _
    name As String _
) As CubeDef
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.AdomdServer.CubeDef
The Find method returns nulluma referência nula (Nothing no Visual Basic) if the object is not found, whereas the Itemproperty throws an exception if the object is not found.

Consulte também

Referência

CubeCollection Classe

Namespace Microsoft.AnalysisServices.AdomdServer