Метод LevelCollection.Find
Gets the specified Level from the collection by its name.
Пространство имен: Microsoft.AnalysisServices.AdomdServer
Сборка: msmgdsrv (в msmgdsrv.dll)
Синтаксис
'Декларация
Public Function Find ( _
name As String _
) As Level
'Применение
Dim instance As LevelCollection
Dim name As String
Dim returnValue As Level
returnValue = instance.Find(name)
public Level Find(
string name
)
public:
Level^ Find(
String^ name
)
member Find :
name:string -> Level
public function Find(
name : String
) : Level
Параметры
- name
Тип: System.String
The name of the Level to find.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AdomdServer.Level
The Level with the specified name if found; otherwise, nullпустая ссылка (Nothing в Visual Basic).
Замечания
If the object is not found, the Find method returns nullпустая ссылка (Nothing в Visual Basic), whereas the Item property throws an exception.