Méthode LevelCollection.Find
Gets the specified Level from the collection by its name.
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (en msmgdsrv.dll)
Syntaxe
'Déclaration
Public Function Find ( _
name As String _
) As Level
'Utilisation
Dim instance As LevelCollection
Dim name As String
Dim returnValue As Level
returnValue = instance.Find(name)
public Level Find(
string name
)
public:
Level^ Find(
String^ name
)
member Find :
name:string -> Level
public function Find(
name : String
) : Level
Paramètres
- name
Type : System.String
The name of the Level to find.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdServer.Level
The Level with the specified name if found; otherwise, nullune référence Null (Nothing dans Visual Basic).
Notes
If the object is not found, the Find method returns nullune référence Null (Nothing dans Visual Basic), whereas the Item property throws an exception.