Share via


SPWeb.CurrentChangeToken property

Gets the change token that is used when the next change is logged to the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property CurrentChangeToken As SPChangeToken
    Get
'Usage
Dim instance As SPWeb
Dim value As SPChangeToken

value = instance.CurrentChangeToken
public SPChangeToken CurrentChangeToken { get; }

Property value

Type: Microsoft.SharePoint.SPChangeToken
An SPChangeToken object that represents the change token.

Remarks

You can use the value of this property to query the change log by calling the GetChanges(SPChangeToken) method. For more information, see Using the Change Log.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace

GetChanges(SPChangeToken)

Other resources

Using the Change Log