Hello,
Aside from editing the timeout value directly as shown below, is any other option to do the requested in bulk ? For e.g., using a script ? Thank you.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023
Hi Arunkrishna,
In addition to the answer from Jarno, below you can find an example by using the Class Library.
private void ConfigureHubGateway(IDmsElement hubGatewayElement)
{
foreach (var connection in hubGatewayElement.Connections)
{
if (connection is HttpConnection http)
{
http.Timeout = TimeSpan.FromSeconds(5);
}
}hubGatewayElement.Update();
}
Jens Vandewalle [SLC] [DevOps Enabler] Answered question 13th January 2023