Sdílet prostřednictvím


MiningModelPermissionCollection.FindByName Method

Finds the MiningModelPermission, with the specified name, from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As MiningModelPermission
'Usage
Dim instance As MiningModelPermissionCollection 
Dim name As String 
Dim returnValue As MiningModelPermission 

returnValue = instance.FindByName(name)
public MiningModelPermission FindByName(
    string name
)
public:
MiningModelPermission^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> MiningModelPermission
public function FindByName(
    name : String
) : MiningModelPermission

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningModelPermission
The MiningModelPermission if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

Reference

MiningModelPermissionCollection Class

Microsoft.AnalysisServices Namespace