cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
strategery
Level 8

SQL connection status

Does anyone know a good way to test a SQL data connection quickly? Right now all I know to do is attempt to collect from a table and check for empty, but it's pretty slow. Perhaps there's somewhere to set the timeout? I'm wanting to modify my existing app to handle times when the server is being rebooted or we have network issues. All I've found thus far or checking connection of any kind is Connection.Connected, which is only useful for losing network connection completely. Any ideas/suggestions?

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: SQL connection status

Hi @strategery,

 

Based on what I know, there is no function available for the SQL Server Connection to check the connection status.

For all the available signals, please check:

Acceleration, App, Compass, Connection, and Location signals in PowerApps

 

For Office 365 connection, there is function:

Office365Users.TestConnection()

available to check the connection status.

 

You may consider to submit an idea on this part, to suggest to add a testing connection status for special connections (Such as SQL Server).

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,402)