Megosztás a következőn keresztül:


RoleCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Role to locate.

Returns

The Role with the specified Name.

Exceptions

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

Applies to