Share via


SPPolicyStore.GetPolicyDefinition method

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

Syntax

'Declaration
Public Function GetPolicyDefinition ( _
    policyDefinitionId As Guid _
) As SPPolicyDefinition
'Usage
Dim instance As SPPolicyStore
Dim policyDefinitionId As Guid
Dim returnValue As SPPolicyDefinition

returnValue = instance.GetPolicyDefinition(policyDefinitionId)
public SPPolicyDefinition GetPolicyDefinition(
    Guid policyDefinitionId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyDefinition

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace