Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ZonePolicies method

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)

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

Parameters

zone
Type: Microsoft.SharePoint.Administration.SPUrlZone

An 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.
Show:
© 2015 Microsoft