Поделиться через


Метод CubeCollection.Find

Gets the specified CubeDef from the collection by its name.

Пространство имен:  Microsoft.AnalysisServices.AdomdServer
Сборка:  msmgdsrv (в msmgdsrv.dll)

Синтаксис

'Декларация
Public Function Find ( _
    name As String _
) As CubeDef
'Применение
Dim instance As CubeCollection 
Dim name As String 
Dim returnValue As CubeDef 

returnValue = instance.Find(name)
public CubeDef Find(
    string name
)
public:
CubeDef^ Find(
    String^ name
)
member Find : 
        name:string -> CubeDef
public function Find(
    name : String
) : CubeDef

Параметры

Возвращаемое значение

Тип: Microsoft.AnalysisServices.AdomdServer.CubeDef
The Find method returns nullпустая ссылка (Nothing в Visual Basic) if the object is not found, whereas the Itemproperty throws an exception if the object is not found.

См. также

Справочник

CubeCollection Класс

Пространство имен Microsoft.AnalysisServices.AdomdServer