Share via


MiningStructurePermissionCollection.FindByName Method

Finds the MiningStructurePermission by 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 MiningStructurePermission
'Usage
Dim instance As MiningStructurePermissionCollection 
Dim name As String 
Dim returnValue As MiningStructurePermission 

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

Parameters

Return Value

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

See Also

Reference

MiningStructurePermissionCollection Class

Microsoft.AnalysisServices Namespace