MiningModelCollection.Remove Method (String)
Removes the MiningModel, 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 MiningModelCollection
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
- id
Type: System.String
The identifier of the MiningModel to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | id is not contained by the collection. |