SqlSystem.loginDatabase Method [AX 2012]

Retrieves the name of the database currently connected to.

public str loginDatabase()

Run On

Server

Return Value

Type: str
The name of the database currently connected to.

{ 
    SqlSystem SqlSystem = new SqlSystem(); 
    print SqlSystem.loginDatabase(); 
}

Community Additions

ADD
Show: