DataSourcePermissionCollection.Remove 方法 (DataSourcePermission)
Removes the specified DataSourcePermission from the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub Remove ( _
item As DataSourcePermission _
)
'用途
Dim instance As DataSourcePermissionCollection
Dim item As DataSourcePermission
instance.Remove(item)
public void Remove(
DataSourcePermission item
)
public:
void Remove(
DataSourcePermission^ item
)
member Remove :
item:DataSourcePermission -> unit
public function Remove(
item : DataSourcePermission
)
參數
- item
型別:Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be removed.
例外狀況
例外狀況 | 條件 |
---|---|
ItemNotFoundException | item is not contained by the collection. |