共用方式為


SPPolicy.PolicyRoleBindings Property

Gets the collection of policy roles that are bound to the policy.

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

Syntax

'Declaration
Public ReadOnly Property PolicyRoleBindings As SPPolicy.SPPolicyRoleBindingCollection
    Get
'Usage
Dim instance As SPPolicy
Dim value As SPPolicy.SPPolicyRoleBindingCollection

value = instance.PolicyRoleBindings
public SPPolicy.SPPolicyRoleBindingCollection PolicyRoleBindings { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPPolicy.SPPolicyRoleBindingCollection
An SPPolicy.SPPolicyRoleBindingCollection object that represents the roles that are bound to the policy.

See Also

Reference

SPPolicy Class

SPPolicy Members

Microsoft.SharePoint.Administration Namespace