Registers an application and writes changes to the metabase file.
[Visual Basic] Overloads Public Shared Function RegisterApplication( _ ByVal applicationID As Guid, _ ByVal name As String, _ ByVal port As Integer, _ ByVal description As String, _ ByVal physicalPath As String, _ ByVal defaultDocument As String, _ ByVal keepRunning As Boolean _ ) As ApplicationEntry
Application port. Set to 0 to have system assigning free port to the application.
description
Optional UI-friendly application description. Can be left blank.
physicalPath
Path to the folder containing all the application files
defaultDocument
Default application document. Can be left blank if it's default.aspx or index.htm.
keepRunning
Tells whether the application should always be loaded in memory to speed up frist page response time.
Return Value
Application object
Remarks
As with all static RegisterApplication() and UnrtegisterApplication() methods, use this method when you register one application. If you need to register multiple applications, instantiate Metabase object by calling Metabase.Load() and then call appropriate Register or Unregister method followed by the Save() call to write change to the metabase file.