Metodo Find

Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Function Find ( _
    parameterName As String _
) As AdomdParameter
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdParameter
An instance of an AdomdParameter object.

Osservazioni

If the object is not found, the Find method returns null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). , whereas the Item property throws an exception.