Share via


SPPolicyStore.GetPolicyRules method

Namespace:  Microsoft.SharePoint.Client.CompliancePolicy
Assembly:  Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)

Syntax

'Declaration
Public Function GetPolicyRules ( _
    policyDefinitionId As Guid _
) As ClientObjectList(Of SPPolicyRule)
'Usage
Dim instance As SPPolicyStore
Dim policyDefinitionId As Guid
Dim returnValue As ClientObjectList(Of SPPolicyRule)

returnValue = instance.GetPolicyRules(policyDefinitionId)
public ClientObjectList<SPPolicyRule> GetPolicyRules(
    Guid policyDefinitionId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientObjectList<SPPolicyRule>

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace