Compartilhar via


Método FindByName

Gets the MiningStructurePermission that has 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 MiningStructurePermission
'Uso
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

Parâmetros

Valor de retorno

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