Condividi tramite


Metodo MiningStructurePermissionCollection.GetByName

Gets the MiningStructurePermission by the specified name from the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function GetByName ( _
    name As String _
) As MiningStructurePermission
'Utilizzo
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

Parametri

Valore restituito

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

Eccezioni

Eccezione Condizione
ItemNotFoundException

name does not exist in the collection.

Vedere anche

Riferimento

MiningStructurePermissionCollection Classe

Spazio dei nomi Microsoft.AnalysisServices