次の方法で共有


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)

Syntax

'Declaration
Public ReadOnly Property Policies As SPPolicyCollection
    Get
'Usage
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.

Remarks

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

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace