Share via


SPPolicyStore.GetPolicyEvents method

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

Syntax

'Declaration
Public Function GetPolicyEvents ( _
    startDate As DateTime, _
    endDate As DateTime _
) As ClientObjectList(Of SPPolicyEvent)
'Usage
Dim instance As SPPolicyStore
Dim startDate As DateTime
Dim endDate As DateTime
Dim returnValue As ClientObjectList(Of SPPolicyEvent)

returnValue = instance.GetPolicyEvents(startDate, _
    endDate)
public ClientObjectList<SPPolicyEvent> GetPolicyEvents(
    DateTime startDate,
    DateTime endDate
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientObjectList<SPPolicyEvent>

See also

Reference

SPPolicyStore class

SPPolicyStore members

Microsoft.SharePoint.Client.CompliancePolicy namespace