Open(string,bool) Method

Summary
Opens the advanced configuration from the specified server directory.
Syntax
C#
VB
C++
public static AdvancedSettings Open( 
   string ServerDirectory, 
   bool cache 
) 
  
Public Shared Function Open( _ 
   ByVal ServerDirectory As String, _ 
   ByVal cache As Boolean _ 
) As AdvancedSettings 
public: 
static AdvancedSettings^ Open(  
   String^ ServerDirectory, 
   bool _cache 
)  

Parameters

ServerDirectory
The server directory.

cache
If true, then use a cached (i.e., in memory) copy of the Configuration.AdvancedSettings; if false, force a reload of the Configuration.AdvancedSettings.

Return Value

An AdvancedSettings object that allows the caller to have access to advanced configuration options.

Remarks

If the advanced.config does not exist this method creates it and returns a valid AdvancedSettings object.

If mutliple processes are reading/writing the Configuration.AdvancedSettings, then set the cache parameter to false.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.