Метод MiningStructurePermissionCollection.GetByName
Gets the MiningStructurePermission by the specified name from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function GetByName ( _
name As String _
) As MiningStructurePermission
'Применение
Dim instance As MiningStructurePermissionCollection
Dim name As String
Dim returnValue As MiningStructurePermission
returnValue = instance.GetByName(name)
public MiningStructurePermission GetByName(
string name
)
public:
MiningStructurePermission^ GetByName(
String^ name
)
member GetByName :
name:string -> MiningStructurePermission
public function GetByName(
name : String
) : MiningStructurePermission
Параметры
- name
Тип: System.String
The name of the MiningStructurePermission to return.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.MiningStructurePermission
The MiningStructurePermission if it exists in the collection.
Исключения
Исключение | Условие |
---|---|
ItemNotFoundException | name does not exist in the collection. |