SPPolicyStore.CreatePolicyRule method
Namespace: Microsoft.SharePoint.Client.CompliancePolicy
Assembly: Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)
Syntax
'Declaration
Public Shared Function CreatePolicyRule ( _
context As ClientRuntimeContext _
) As SPPolicyRule
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As SPPolicyRule
returnValue = SPPolicyStore.CreatePolicyRule(context)
public static SPPolicyRule CreatePolicyRule(
ClientRuntimeContext context
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
Return value
Type: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyRule