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
- scenario
Type: System.Int32
- workload
Type: System.Int32
Return value
Type: Microsoft.SharePoint.Client.ClientObjectList<SPPolicyAssociation>