共用方式為


Find 方法

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

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Function Find ( _
    parameterName As String _
) As AdomdParameter
'用途
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

參數

備註

If the object is not found, the Find method returns null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) , whereas the Item property throws an exception.