xSession.clientKind Method
Retrieves the type of the client that is responsible for servicing the session.
Syntax
public ClientType clientKind()
Run On
Called
Return Value
Type: ClientType Enumeration
The type of the client.
Remarks
The possible values are those in the ClientType system enumeration:
COMObject
Client
Server
WorkerThread
Examples
The following example prints the type of the client that is running the current session.
{
xSession xSession;
xSession = new xSession();
print xSession.clientKind();
pause;
}