Dela via


KpiCollection.Remove Method (String)

Removes the Kpi, with the specified identifier, from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    id As String _
)
'Usage
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
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

id is not contained by the collection.