Condividi tramite


Metodo LevelCollection.FindByName

Gets the Level, with the specified name, from the collection.

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

Sintassi

'Dichiarazione
Public Function FindByName ( _
    name As String _
) As Level
'Utilizzo
Dim instance As LevelCollection 
Dim name As String 
Dim returnValue As Level 

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

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.Level
The Level if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

Vedere anche

Riferimento

LevelCollection Classe

Spazio dei nomi Microsoft.AnalysisServices