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