Partager via


Méthode FindByName

Gets the MiningStructurePermission that has the specified name from the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function FindByName ( _
    name As String _
) As MiningStructurePermission
'Utilisation
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

Paramètres

Valeur de retour

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