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

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