Metoda LevelCollection.GetByName
Pobiera Level, o podanej nazwie z kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function GetByName ( _
name As String _
) As Level
'Użycie
Dim instance As LevelCollection
Dim name As String
Dim returnValue As Level
returnValue = instance.GetByName(name)
public Level GetByName(
string name
)
public:
Level^ GetByName(
String^ name
)
member GetByName :
name:string -> Level
public function GetByName(
name : String
) : Level
Parametry
- name
Typ: System.String
Nazwa Level mają być zwrócone.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Level
Level z nazwą określoną w name.
Wyjątki
| Wyjątek | Warunek |
|---|---|
| ItemNotFoundException | namenie jest zawarty kolekcja. |