DatabasePermissionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the DatabasePermission to locate.

Returns

The DatabasePermission with the specified Name.

Exceptions

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

Applies to