SPWebApplication.Policies Property

Gets the collection of security policies that are defined for the Web application, overriding any policies set for a zone.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


Public ReadOnly Property Policies As SPPolicyCollection
Dim instance As SPWebApplication
Dim value As SPPolicyCollection

value = instance.Policies
public SPPolicyCollection Policies { get; }

Property Value

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


Security policies that are defined for the Web application override those that are defined for the zone.

See Also


SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace