Condividi tramite


Metodo Find

Gets the specified CubeDef from the collection by its name.

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Function Find ( _
    name As String _
) As CubeDef
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.AdomdServer. . :: . .CubeDef
The Find method returns nullNothingnullptrunitriferimento Null (Nothing in Visual Basic). if the object is not found, whereas the Itemproperty throws an exception if the object is not found.