SPWebProxyConfig class

SharePoint 2013

Configuration class for the WebProxy service.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public class SPWebProxyConfig : SPPersistedObject

While it is possible to create multiple, named instances of this class, the service only takes into account the unnamed instance. Settings are loaded once for the lifetime of the w3wp.exe process.

$webProxyConfig = SPWebProxyConfig.Current $webProxyConfig.ResponseTimeout = 30 $webProxyConfig.MaxActiveRequestCountPerFrontEnd = 200 $webProxyConfig.Update()

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.