Share via


DatabasePermissionCollection.FindByName(String) Method

Definition

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

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

Parameters

name
String

The name of the DatabasePermission to locate.

Returns

The DatabasePermission with the specified name, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to