다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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