How to get the current database name in axapta

Axapta supports a class called SysSqlSystemInfo by using this calss we can get the current database name...

static void sqlSysName(Args _args)
{
    ;
    info(SysSQLSystemInfo::construct().getloginDatabase());
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.