Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB7
Expertise: Intermediate
Sep 22, 2003

ShutDownComPlusApplication - Shutting-down a COM+ application

' Shut-down the COM+ application with the input name
' Note: requires a reference to the COM+ Admin Type Library
'
' Example: ShutDownComPlusApplication("MyComPlusApp", "")

Sub ShutDownComPlusApplication(ByVal applicationName As String, _
    ByVal serverName As String)
    Dim catalog As New COMAdmin.COMAdminCatalog
    catalog.Connect(serverName)
    ' shutdown the application
    catalog.ShutdownApplication(applicationName)
End Sub
Marco Bellinaso
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap