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
- name
Typ: System.String
Nazwa LevelProperty do znajdowania.
Wartość zwracana
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.
Zobacz także