Share via


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

Return value

Type: Microsoft.SharePoint.Administration.SPPolicyCollection
An SPPolicyCollection object that represents the set of policies.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace