Partilhar via


MiningModelPermissionCollection.GetByName(String) Method

Definition

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

public Microsoft.AnalysisServices.MiningModelPermission GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.MiningModelPermission
Public Function GetByName (name As String) As MiningModelPermission

Parameters

name
String

The name of the MiningModelPermission to locate.

Returns

The MiningModelPermission with the specified Name.

Exceptions

The collection doesn't contain a MiningModelPermission with the specified name.

Applies to