I am not able to solve my problem but i am able to find a way around. i found another cmdlets Set-RDDatabaseConnectionString. Set-RDDatabaseConnectionString cmdlet configures database connection settings for the SQL Server database used in high availability environments with multiple Remote Desktop Connection Broker (RD Connection Broker) servers. I used it with FQDN and it works fine.
Thanks