MiningStructurePermissionCollection.GetByRole 메서드
Gets the MiningStructurePermission with the specified role identifier.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public Function GetByRole ( _
roleId As String _
) As MiningStructurePermission
‘사용 방법
Dim instance As MiningStructurePermissionCollection
Dim roleId As String
Dim returnValue As MiningStructurePermission
returnValue = instance.GetByRole(roleId)
public MiningStructurePermission GetByRole(
string roleId
)
public:
MiningStructurePermission^ GetByRole(
String^ roleId
)
member GetByRole :
roleId:string -> MiningStructurePermission
public function GetByRole(
roleId : String
) : MiningStructurePermission
매개 변수
- roleId
유형: System.String
The role identifier used to identify the MiningStructurePermission.
반환 값
유형: Microsoft.AnalysisServices.MiningStructurePermission
The MiningStructurePermission with the specified role identifier.
예외
예외 | 조건 |
---|---|
ItemNotFoundException | roleID does not exist in the collection. |