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