Share via


SPPolicyStore.GetPolicyAssociations method

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

Syntax

'Declaration
Public Function GetPolicyAssociations ( _
    scenario As Integer, _
    workload As Integer _
) As ClientObjectList(Of SPPolicyAssociation)
'Usage
Dim instance As SPPolicyStore
Dim scenario As Integer
Dim workload As Integer
Dim returnValue As ClientObjectList(Of SPPolicyAssociation)

returnValue = instance.GetPolicyAssociations(scenario, _
    workload)
public ClientObjectList<SPPolicyAssociation> GetPolicyAssociations(
    int scenario,
    int workload
)

Parameters

Return value

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

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace