Поделиться через


RoleCollection.FindByName Method

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

Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Синтаксис

'Декларация
Public Function FindByName ( _
    name As String _
) As Role
public Role FindByName (
    string name
)
public:
Role^ FindByName (
    String^ name
)
public Role FindByName (
    String name
)
public function FindByName (
    name : String
) : Role

Параметры

  • name
    The name of the Role to return.

Возвращаемое значение

The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

RoleCollection Class
RoleCollection Members
Microsoft.AnalysisServices Namespace