Méthode LevelPropertyCollection.Find
Gets the specified LevelProperty 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 LevelProperty
'Utilisation
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
Paramètres
- name
Type : System.String
The name of the LevelProperty to find.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdServer.LevelProperty
The LevelProperty 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.