Cassini Configuration API Documentation

Metabase.UnregisterApplication Method (ApplicationEntry, Boolean)

Unregisters an application. Will save metabase file if autoSave parameter is set to true.

[Visual Basic]
Overloads Public Sub UnregisterApplication( _
   ByVal app As ApplicationEntry, _
   ByVal autoSave As Boolean _
)
[C#]
public void UnregisterApplication(
   ApplicationEntry app,
   bool autoSave
);

Remarks

Set autoSave parameter to false if you are unregistering multiple applications, and then call Save() method to save all changes to the metabase file. Try to minimize number of Save() calls because each Save() call triggers Cassini service(s) restart.

See Also

Metabase Class | CassiniConfiguration Namespace | Metabase.UnregisterApplication Overload List