Share via


RoleCollection.Find(String) Method

Definition

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

public Microsoft.AnalysisServices.Tabular.Role Find (string id);
member this.Find : string -> Microsoft.AnalysisServices.Tabular.Role
Public Function Find (id As String) As Role

Parameters

id
String

The identifier of the Role to locate.

Returns

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

Applies to