SPWebApplication.ZonePolicies method
會傳回設定的原則套用至指定的區域。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function ZonePolicies ( _
zone As SPUrlZone _
) As SPPolicyCollection
'用途
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim returnValue As SPPolicyCollection
returnValue = instance.ZonePolicies(zone)
public SPPolicyCollection ZonePolicies(
SPUrlZone zone
)
參數
zone
Type: Microsoft.SharePoint.Administration.SPUrlZone指定由SharePoint Foundation接收要求的原始區域SPUrlZone值。
傳回值
Type: Microsoft.SharePoint.Administration.SPPolicyCollection
SPPolicyCollection 物件,代表設定的原則。