Partager via


FindByName méthode

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

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

Syntaxe

'Déclaration
Public Function FindByName ( _
    name As String _
) As CubePermission
'Utilisation
Dim instance As CubePermissionCollection
Dim name As String
Dim returnValue As CubePermission

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

Paramètres

Valeur de retour

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