ISolveInterface.RemoveProject (method)

Remove a project from the list of connected projects.
Syntax: SCODE = object.RemoveProject ( Project )
Parameters:
Project As String - A string representing the name of the project to remove.
Description: browser.RemoveProject removes the project from the list of connected projects. If this is the last project then the connection to the database is dropped. Returns S_OK if the project is removed. Returns S_FALSE if the project was not found.


Example

Dim i As Variant
i = browser.RemoveProject("TEST")
If CInt(i) <> 0 Then MsgBox "Failed to remoe the project"