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. |