Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

What is the proper way to check if the connection succeeded?

$
0
0

We use a CrmConnection in our .NET project to connect to CRM.  It's working fine.  However, we're currently doing a WhoAmIRequest after connecting to verify the connection succeeded.  This feels hacky and it's slow.  Is there a property or method in the CrmConnection class that is designed to tell you if the connection succeeds?  If there is, I haven't found it yet.  I've googled my fingers off and looked at countless CrmConnection examples, but they all seem to just assume the connection was successful.

Thanks!

Ray


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>