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


RoleCollection.Remove Method (Role)

Removes the specified Role from the collection.

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

Синтаксис

'Декларация
Public Sub Remove ( _
    item As Role _
)
public void Remove (
    Role item
)
public:
void Remove (
    Role^ item
)
public void Remove (
    Role item
)
public function Remove (
    item : Role
)

Параметры

  • item
    The Role to remove.

Исключения

Тип исключения Условие
ItemNotFoundException

item does not exist in the collection.

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

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