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