Call the DisconnectRemoteSession method to disconnect a specific session on a database server. Disconnecting a session only terminates its connection, it does not remove the session completely from the database server nor does it release any resources for the session other than the thread used for the connection and the connection itself at the operating system level. Use the SessionID parameter to specify the session ID to disconnect. You can get the session ID for a particular session by using the GetRemoteSessionCount and the GetRemoteSessionInfo methods.
This method is only valid for encrypted remote sessions connected as an administrator to the administration port on a database server.