Share via


SPPolicyStore.GetPolicyAssociationForContainer method

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

Syntax

'Declaration
Public Function GetPolicyAssociationForContainer ( _
    containerId As String _
) As SPPolicyAssociation
'Usage
Dim instance As SPPolicyStore
Dim containerId As String
Dim returnValue As SPPolicyAssociation

returnValue = instance.GetPolicyAssociationForContainer(containerId)
public SPPolicyAssociation GetPolicyAssociationForContainer(
    string containerId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyAssociation

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace