Udostępnij przez


Metoda LevelPropertyCollection.Find

Pobiera określony LevelProperty z kolekcja według jego nazwy.

Przestrzeń nazw:  Microsoft.AnalysisServices.AdomdServer
Zestaw:  msmgdsrv (w msmgdsrv.dll)

Składnia

'Deklaracja
Public Function Find ( _
    name As String _
) As LevelProperty
'Użycie
Dim instance As LevelPropertyCollection
Dim name As String
Dim returnValue As LevelProperty

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

Parametry

Uwagi

Jeśli obiekt nie zostanie znaleziony, Find Metoda zwraca nullodwołanie o wartości null (Nothing w języku Visual Basic), podczas gdy Item Właściwość zgłasza wyjątek.