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


RoleCollection.IndexOf Method (Role)

Gets the index of a specified Role.

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

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As Role _
) As Integer
public int IndexOf (
    Role item
)
public:
int IndexOf (
    Role^ item
)
public int IndexOf (
    Role item
)
public function IndexOf (
    item : Role
) : int

Параметры

  • item
    The Role to return.

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

The zero-based index of the Role if the object is found; otherwise, -1.

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

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