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
- policyDefinitionId
Type: System.Guid
Return value
Type: Microsoft.SharePoint.Client.ClientObjectList<SPPolicyRule>