Freigeben über


CubeCollection.Find-Methode

Gets the specified CubeDef from the collection by its name.

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

Syntax

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

Parameter

Rückgabewert

Typ: Microsoft.AnalysisServices.AdomdServer.CubeDef
The Find method returns nullein NULL-Verweis (Nothing in Visual Basic) if the object is not found, whereas the Itemproperty throws an exception if the object is not found.

Siehe auch

Verweis

CubeCollection Klasse

Microsoft.AnalysisServices.AdomdServer-Namespace