Méthode Find
Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public Function Find ( _
parameterName As String _
) As AdomdParameter
'Utilisation
Dim instance As AdomdParameterCollection
Dim parameterName As String
Dim returnValue As AdomdParameter
returnValue = instance.Find(parameterName)
public AdomdParameter Find(
string parameterName
)
public:
AdomdParameter^ Find(
String^ parameterName
)
member Find :
parameterName:string -> AdomdParameter
public function Find(
parameterName : String
) : AdomdParameter
Paramètres
- parameterName
Type : System. . :: . .String
The name of the AdomdParameter object to find.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdParameter
An instance of an AdomdParameter object.
Notes
If the object is not found, the Find method returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) , whereas the Item property throws an exception.
Voir aussi