SPWebProxyConfig class
WebProxy 服務的設定類別。
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
'宣告
<GuidAttribute("415CECA2-125D-492D-8FD0-9E0F7670D881")> _
Public Class SPWebProxyConfig _
Inherits SPPersistedObject
'用途
Dim instance As SPWebProxyConfig
[GuidAttribute("415CECA2-125D-492D-8FD0-9E0F7670D881")]
public class SPWebProxyConfig : SPPersistedObject
備註
雖然是可以建立多個具名執行個體,這個類別的服務只會考慮命名的執行個體。設定是一次載入 w3wp.exe 處理序的存留期。
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.