GetInstance Method (ClientSession)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetInstance() method is a class-level method that returns a client session object. The first time this method is called, it creates the ClientSession object. Thereafter, it returns the ClientSession object created by the first call. The ClientSession object is the main entry point into the Client API. It holds the list of logged in users and the current user.
'Declaration
Public Shared Function GetInstance() As ClientSession
public static ClientSession GetInstance()
Return Value
Returns the ClientSession object.