Share via


SPSite.CurrentChangeToken Property

Gets the change token that will be used to log the next change to the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property CurrentChangeToken As SPChangeToken
    Get
'Usage
Dim instance As SPSite
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

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace

GetChanges(SPChangeToken)

Other Resources

Using the Change Log