RoleCollection.FindByName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Role that has the specified name from the collection.
public Microsoft.AnalysisServices.Tabular.Role FindByName (string name);
member this.FindByName : string -> Microsoft.AnalysisServices.Tabular.Role
Public Function FindByName (name As String) As Role
Parameters
Returns
The Role with the specified name, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).