SPWeb.CurrentChangeToken Property

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

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


Public ReadOnly Property CurrentChangeToken As SPChangeToken

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.


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

See Also


SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace


Other Resources

Using Changes to Query for Objects

Event Logs in Windows SharePoint Services