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


Метод GetByName

Gets the MiningStructure that has the specified name from the collection.

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

Синтаксис

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

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

Параметры

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

Тип Microsoft.AnalysisServices. . :: . .MiningStructure
The MiningStructure if it exists in the collection.

Исключения

Исключение Условие
ItemNotFoundException

name does not exist in the collection.