RoleCollection.FindByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Role to locate.

Returns

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

Applies to