Share via


SPContentDatabase.CurrentChangeToken property

Gets the change token used to log the next change in the change log for the content database.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPChangeToken
An SPChangeToken object that represents the current 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

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace

GetChanges(SPChangeToken)

Other resources

Using the Change Log