SPWebProxyConfig class
Configuration class for the WebProxy service.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.SPWebProxyConfig
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<GuidAttribute("415CECA2-125D-492D-8FD0-9E0F7670D881")> _
Public Class SPWebProxyConfig _
Inherits SPPersistedObject
'Usage
Dim instance As SPWebProxyConfig
[GuidAttribute("415CECA2-125D-492D-8FD0-9E0F7670D881")]
public class SPWebProxyConfig : SPPersistedObject
Remarks
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.
Examples
$webProxyConfig = SPWebProxyConfig.Current $webProxyConfig.ResponseTimeout = 30 $webProxyConfig.MaxActiveRequestCountPerFrontEnd = 200 $webProxyConfig.Update()
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.