Compartilhar via


DataSourcePermissionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the DataSourcePermission to locate.

Returns

The DataSourcePermission with the specified Name.

Exceptions

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

Applies to