Export (0) Print
Expand All

SPWebProxyConfig class

SharePoint 2013

Configuration class for the WebProxy service.

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

[GuidAttribute("415CECA2-125D-492D-8FD0-9E0F7670D881")]
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.
Show:
© 2014 Microsoft