Método Find
Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdParameter
An instance of an AdomdParameter object.
Comentários
If the object is not found, the Find method returns null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) , whereas the Item property throws an exception.
Consulte também