Session Class [AX 2012]
Syntax
class Session extends xSession
Run On
Called
Methods
Method | Description | |
---|---|---|
AOSName | Retrieves the name of the Application Object Server (AOS) that is responsible for servicing the session. (Inherited from xSession.) | |
aosPort | Gets a port of the Microsoft Dynamics AX Application Object Server (AOS) service. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
clientComputerName | Retrieves the network name of the client computer that is responsible for servicing the session. (Inherited from xSession.) | |
clientKind | Retrieves the type of the client that is responsible for servicing the session. (Inherited from xSession.) | |
databaseSpid | Retrieves a comma-separated list of active connection IDs. (Inherited from xSession.) | |
documentationLanguage | Retrieves the language ID of the documentation that is shown for the session. (Inherited from xSession.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
interfaceLanguage | Retrieves the ID for the language that is used on menus and dialogs for the session. (Inherited from xSession.) | |
isWorkerThread | Determines whether the session is a worker thread. (Inherited from xSession.) | |
loginDate | Retrieves the date on which the user of the session logged on. (Inherited from xSession.) | |
loginDateTime | (Inherited from xSession.) | |
loginTime | Retrieves the time at which the user of the session logged on. (Inherited from xSession.) | |
masterSessionId | Retrieves the master session ID for the session that the xSession object covers. (Inherited from xSession.) | |
new | Instantiates the xSession object, either for current session or for the session ID passed in as a parameter. (Inherited from xSession.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
serverId | (Inherited from xSession.) | |
sessionId | Retrieves the session ID of the session that the xSession object covers. (Inherited from xSession.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
terminate | Terminates the session ID that the object was instantiated with. (Inherited from xSession.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
userId | Retrieves the user ID that this session is logged on with. (Inherited from xSession.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::aosClientMode | Gets the client mode of the AOS service. | |
::getAOSInstance | Gets an AOS instance name. | |
::getAOSPort | Gets a port of the AOS service. | |
::isBusinessConnector | Indicates whether the client kind is a business connector. | |
::isServer | Indicates whether the client type is a server. |
Top
Inheritance Hierarchy
Object Class
xSession Class
Session Class