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)
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.