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.


Namespace: SessionLoader
Assembly: SessionLoader (in SessionLoader.dll)

Syntax

Visual Basic (Declaration)
Public Sub Shutdown()
C#
public void Shutdown()
C++
public:
 void Shutdown() sealed 
J#
public void Shutdown()
JScript
public  function 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

[C#]

 Copy Code
            sl.Shutdown();
            
[VB]
 Copy Code
            sl.Shutdown
            

See Also