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