SPPolicyStore.CreatePolicyDefinition method

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

Syntax

'Declaration
Public Shared Function CreatePolicyDefinition ( _
    context As ClientRuntimeContext _
) As SPPolicyDefinition
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As SPPolicyDefinition

returnValue = SPPolicyStore.CreatePolicyDefinition(context)
public static SPPolicyDefinition CreatePolicyDefinition(
    ClientRuntimeContext context
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyDefinition

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace