MiningModelPermissionCollection.GetByName Method (String)
Applies To: SQL Server 2016 Preview
Gets the MiningModelPermission, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public MiningModelPermission GetByName(
string name
)
public:
MiningModelPermission^ GetByName(
String^ name
)
member GetByName :
name:string -> MiningModelPermission
Public Function GetByName (
name As String
) As MiningModelPermission
Parameters
name
Type: System.StringThe name of the MiningModelPermission to be returned.
Return Value
Type: Microsoft.AnalysisServices.MiningModelPermission
The MiningModelPermission if contained in the collection.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | name is not contained by the collection. |
See Also
MiningModelPermissionCollection Class
Microsoft.AnalysisServices Namespace
Return to top