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