AdomdParameterCollection.Find Método
Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Public Function Find ( _
parameterName As String _
) As AdomdParameter
'Uso
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
Parámetros
- parameterName
Tipo: System.String
The name of the AdomdParameter object to find.
Valor devuelto
Tipo: Microsoft.AnalysisServices.AdomdClient.AdomdParameter
An instance of an AdomdParameter object.
Comentarios
If the object is not found, the Find method returns nulles una referencia NULL (Nothing en Visual Basic)., whereas the Item property throws an exception.