Remove 方法 (DatabasePermission)
Removes the specified DatabasePermission from the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub Remove ( _
item As DatabasePermission _
)
用法
Dim instance As DatabasePermissionCollection
Dim item As DatabasePermission
instance.Remove(item)
public void Remove(
DatabasePermission item
)
public:
void Remove(
DatabasePermission^ item
)
member Remove :
item:DatabasePermission -> unit
public function Remove(
item : DatabasePermission
)
参数
- item
类型:Microsoft.AnalysisServices. . :: . .DatabasePermission
The DatabasePermission to be removed.
异常
异常 | 条件 |
---|---|
ItemNotFoundException | item is not contained by the collection. |