Compartilhar via


Método AdomdParameterCollection.Find

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.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:
virtual AdomdParameter^ Find(
    String^ parameterName
) sealed
abstract Find : 
        parameterName:string -> AdomdParameter  
override Find : 
        parameterName:string -> AdomdParameter
public final function Find(
    parameterName : String
) : AdomdParameter

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.AdomdServer.AdomdParameter
An instance of a AdomdParameter object.

Comentários

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

Consulte também

Referência

AdomdParameterCollection Classe

Namespace Microsoft.AnalysisServices.AdomdServer