Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Diagrams

Test_connection

  • Last UpdatedOct 28, 2024
  • 1 minute read

Checks whether given URL is valid live DashBoard site.

Syntax

Public static bool Test_connection (

string URL,

out string strMessage

)

Parameters

URL

The dashboard URL to be tested.

strMessage

When this method returns, contains the error message, if test fails otherwise, contains String.Empty.

Return value

True if success; otherwise, false.

Example

string strMessage = string.Empty;

if (Test_connection("http://inhyzvms8r09:16000/", out strMessage))

{

Console.WriteLine("Success - Test Connection");

}

else

{

Console.WriteLine("Failed - Test Connection. Error - {0}", strMessage);

}

TitleResults for “How to create a CRG?”Also Available in