SPPolicyStore.CreatePolicyAssociation method

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

Syntax

'Declaration
Public Shared Function CreatePolicyAssociation ( _
    context As ClientRuntimeContext _
) As SPPolicyAssociation
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As SPPolicyAssociation

returnValue = SPPolicyStore.CreatePolicyAssociation(context)
public static SPPolicyAssociation CreatePolicyAssociation(
    ClientRuntimeContext context
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyAssociation

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace