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
- policyDefinitionId
Type: System.Guid
Return value
Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyDefinition