CmisSync.Lib.Database.Database.GetChangeLogToken C# (CSharp) Method

GetChangeLogToken() public method

Get the ChangeLog token that was stored at the end of the last successful CmisSync synchronization. If no ChangeLog has ever been stored, return null.
public GetChangeLogToken ( ) : string
return string
        public string GetChangeLogToken()
        {
            var token = ExecuteSQLFunction("SELECT value FROM general WHERE key=\"ChangeLogToken\"", null);

            if (token is DBNull)
            {
                return null;
            }
            else
            {
                return (string)token;
            }
        }