SPWebApplication.ZonePolicies Method
Returns the set of policies that apply to the specified zone.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function ZonePolicies ( _
zone As SPUrlZone _
) As SPPolicyCollection
'Usage
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim returnValue As SPPolicyCollection
returnValue = instance.ZonePolicies(zone)
public SPPolicyCollection ZonePolicies(
SPUrlZone zone
)
Parameters
zone
Type: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone value that specifies the originating zone of a request received by SharePoint Foundation.
Return Value
Type: Microsoft.SharePoint.Administration.SPPolicyCollection
An SPPolicyCollection object that represents the set of policies.