DimensionPermissionCollection.GetByName 메서드
Gets the DimensionPermission, with the specified name, from the collection.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public Function GetByName ( _
name As String _
) As DimensionPermission
‘사용 방법
Dim instance As DimensionPermissionCollection
Dim name As String
Dim returnValue As DimensionPermission
returnValue = instance.GetByName(name)
public DimensionPermission GetByName(
string name
)
public:
DimensionPermission^ GetByName(
String^ name
)
member GetByName :
name:string -> DimensionPermission
public function GetByName(
name : String
) : DimensionPermission
매개 변수
- name
유형: System.String
The name of the DimensionPermission to be returned.
반환 값
유형: Microsoft.AnalysisServices.DimensionPermission
The DimensionPermission if it is contained in the collection.
예외
예외 | 조건 |
---|---|
ItemNotFoundException | name is not contained by the collection. |