static void Jimmy_DataBaseInfo(Args _args)
{
    SqlSystem       SqlSystem       = new SqlSystem();
    Session         Session         = new Session();
    LoginProperty   loginProperty   = sqlSystem.createLoginProperty();
;
    print SqlSystem.databaseName();
    print SqlSystem.logfileName();
    print SqlSystem.databaseId();
    print SqlSystem.loginDatabase();
    print SqlSystem.loginServer();

    print systemdateget();
    print today();
    print SysSQLSystemInfo::construct().getloginDatabase();//AX2009DEV
    print SysSQLSystemInfo::construct().getLoginServer();//DGQVS004
    print SysSQLSystemInfo::construct().getLogFileName();//数据库日志文件路径
    print SqlSystem::databaseBackendDesc();//DGQVS004 - AX2009DEV
    print userinfoHelp::userName(curuserId());
    print Session::getAOSInstance();//aos实例名
    print Session::getAOSPort();//aos实例名
    print XSession::systemSessionId();

    print Session.AOSName();//AOT Name
    print Session.userId();
    print Session.sessionId();
    if(loginProperty)
    {
        print loginProperty.getDatabase();
        print loginProperty.getServer();
    }
   
// Prints the name of server for the current session.
    print new xSession().AOSName();

    pause;
}

相关文章:

  • 2021-10-22
  • 2021-12-19
  • 2021-12-31
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2021-12-13
  • 2022-01-16
  • 2021-12-07
相关资源
相似解决方案