Метод Remove (Role)
Removes the specified Role from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Sub Remove ( _
item As Role _
)
'Применение
Dim instance As RoleCollection
Dim item As Role
instance.Remove(item)
public void Remove(
Role item
)
public:
void Remove(
Role^ item
)
member Remove :
item:Role -> unit
public function Remove(
item : Role
)
Параметры
- item
Тип Microsoft.AnalysisServices. . :: . .Role
The Role to remove.
Исключения
Исключение | Условие |
---|---|
ItemNotFoundException | item does not exist in the collection. |