FindByRole 方法
Gets the MiningModelPermission, with the specified role identifier, from the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function FindByRole ( _
roleId As String _
) As MiningModelPermission
'用途
Dim instance As MiningModelPermissionCollection
Dim roleId As String
Dim returnValue As MiningModelPermission
returnValue = instance.FindByRole(roleId)
public MiningModelPermission FindByRole(
string roleId
)
public:
MiningModelPermission^ FindByRole(
String^ roleId
)
member FindByRole :
roleId:string -> MiningModelPermission
public function FindByRole(
roleId : String
) : MiningModelPermission
參數
- roleId
型別:System. . :: . .String
傳回值
型別:Microsoft.AnalysisServices. . :: . .MiningModelPermission
The MiningModelPermission if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).