LEADTOOLS Medical (Leadtools.Dicom.Server.Admin assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ServiceAdministrator Constructor(String,Boolean)
See Also 
Leadtools.Dicom.Server.Admin Namespace > ServiceAdministrator Class > ServiceAdministrator Constructor : ServiceAdministrator Constructor(String,Boolean)




BaseDirectory
The base directory.
loadAllArchitectures
if set to true load all architectures, false to load only the current architecture.
Initializes a new instance of the ServiceAdministrator class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal BaseDirectory As String, _
   ByVal loadAllArchitectures As Boolean _
)
Visual Basic (Usage)Copy Code
Dim BaseDirectory As String
Dim loadAllArchitectures As Boolean
 
Dim instance As New ServiceAdministrator(BaseDirectory, loadAllArchitectures)
C# 
public ServiceAdministrator( 
   string BaseDirectory,
   bool loadAllArchitectures
)
Managed Extensions for C++ 
public: ServiceAdministrator( 
   string* BaseDirectory,
   bool loadAllArchitectures
)
C++/CLI 
public:
ServiceAdministrator( 
   String^ BaseDirectory,
   bool loadAllArchitectures
)

Parameters

BaseDirectory
The base directory.
loadAllArchitectures
if set to true load all architectures, false to load only the current architecture.

Example

For an example refer to InstallService

Remarks

loadAllArchitectures allows you to specify if you want to load 32/64 bit service with a service manager that doesn't match the service architecture. Setting this property to false will only load DICOM services that correspond to the current architecture. If loadAllArchitectures is set to true and the architectures do not match you will not be able to edit the server addins.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Server.Admin requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features