|
Server Component Class: CRFramework.VISControls.VISServerControl
GetAppDomains()
Returns ApplicationDomainCollection
The GetAppDomains method returns a collection called ApplicationDomainCollection which contains a collection of ApplicationDomain objects that you can use to display all of the application domains available on the server.
[VB]
Imports CRFramework.VISControls
Dim VIS As VISServerControl |
Dim adc As ApplicationDomainCollection |
Dim ad As ApplicationDomain |
|
VIS = New VISServerControl() |
|
VIS.UserName = "administrator" |
VIS.Password = "manager" |
VIS.ServerName = "localhost" |
|
VIS.Connect() |
|
adc = VIS.GetAppDomains() |
|
For Each ad In adc |
' Use each ad (ApplicationDomain) object to show your users all of the Application Domains. |
Next |
|
[C#]
using CRFramework.VISControls;
VISServerControl VIS; |
ApplicationDomainCollection adc; |
|
VIS = new VISServerControl(); |
|
VIS.UserName = "administrator"; |
VIS.Password = "manager"; |
VIS.ServerName = "localhost"; |
|
VIS.Connect(); |
|
|
adc = VIS.GetAppDomains(); |
|
foreach(ApplicationDomain ad in adc) |
{ |
// Use each ad (ApplicationDomain) object to show your users all of the Application Domains. |
} |
© 2003 - 2007 Relational Solutions, Inc. - All rights reserved