Compartir a través de


GetByName Método

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function GetByName ( _
    name As String _
) As MiningStructurePermission
'Uso
Dim instance As MiningStructurePermissionCollection
Dim name As String
Dim returnValue As MiningStructurePermission

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

Parámetros

Valor devuelto

Tipo: Microsoft.AnalysisServices. . :: . .MiningStructurePermission
The MiningStructurePermission if it exists in the collection.

Excepciones

Excepción Condición
ItemNotFoundException

name does not exist in the collection.