Share via


DimensionPermissionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the DimensionPermission to locate.

Returns

The DimensionPermission with the specified Name.

Exceptions

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

Applies to