This documentation is archived and is not being maintained.

Workbook.PurgeChangeHistoryNow Method

Removes entries from the change log for the workbook.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual void PurgeChangeHistoryNow (
	int Days,
	[OptionalAttribute] Object SharingPassword
)

Parameters

Days

The number of days that changes in the change log are to be retained.

SharingPassword

The password that unprotects the workbook for sharing. If the workbook is protected for sharing with a password and this argument is omitted, the user is prompted for the password.

Optional Parameters

For information on optional parameters, see Understanding Optional Parameters in COM Interop.

Show: