Метод Find
Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.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:
AdomdParameter^ Find(
String^ parameterName
)
member Find :
parameterName:string -> AdomdParameter
public function Find(
parameterName : String
) : AdomdParameter
Параметры
- parameterName
Тип: System. . :: . .String
The name of the AdomdParameter object to find.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdParameter
An instance of an AdomdParameter object.
Замечания
If the object is not found, the Find method returns null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) , whereas the Item property throws an exception.
См. также