GetByRole 메서드
Gets the MiningStructurePermission that has the specified role identifier from the collection.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices
구문
‘선언
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
반환 값
형식: Microsoft.AnalysisServices. . :: . .MiningStructurePermission
The MiningStructurePermission if it exists in the collection.
예외
예외 | 조건 |
---|---|
ItemNotFoundException | roleID does not exist in the collection. |