SessionLoader
Shutdown Method
Example 



Ensures that all IDs defined with a lease timeout from Management and Control Server (MCS) ID Management are properly retained by the SDK for future use once your application no longer requires them.
Syntax
'Declaration
 
Public Sub Shutdown() 
'Usage
 
Dim instance As SessionLoader 
  
instance.Shutdown()
public void Shutdown()
public: 
void Shutdown(); 
Remarks
IDs that do not have a lease timeout defined are freed automatically when the application closes. You must call this method when your application terminates if you are using leased IDs. This method is only applicable when using ID Management with MCS and only for IDs with a lease timeout defined. If MCS ID Management is not installed, or the IDs do not have a lease timeout defined, this method is ignored. Important! You must call this method when your application terminates if the IDs have a lease timeout value defined. Failure to do so may cause these IDs to become unusable by your application or by MCS ID Management.
Example
sl.Shutdown();
sl.Shutdown
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SessionLoader Class
SessionLoader Members
getConfigurationIPAddress Method
setConfigurationIPAddress Method
setResourceManagerOptions Method