Compartilhar via


Método FindByName

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

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

Sintaxe

'Declaração
Public Function FindByName ( _
    name As String _
) As MiningModelPermission
'Uso
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

Parâmetros

Valor de retorno

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