Udostępnij za pośrednictwem


CubePermissionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the CubePermission to locate.

Returns

The CubePermission with the specified Name.

Exceptions

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

Applies to