GetByName méthode
Gets the MiningStructurePermission that has the specified name from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function GetByName ( _
name As String _
) As MiningStructurePermission
'Utilisation
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
Paramètres
- name
Type : System. . :: . .String
The name of the MiningStructurePermission to return.
Valeur de retour
Type : Microsoft.AnalysisServices. . :: . .MiningStructurePermission
The MiningStructurePermission if it exists in the collection.
Exceptions
| Exception | Condition |
|---|---|
| ItemNotFoundException | name does not exist in the collection. |