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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
Return value
Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyDefinition