Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.CleanupProjectFromCache Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Deletes the specified project file from the local cache. Available only in Project Professional.

Syntax

expression. CleanupProjectFromCache( ** Filename** )

expression An expression that returns an Application object.

Parameters

NameRequired/OptionalData TypeDescription
FilenameOptionalStringName of the project file to delete from the cache.

Return Value

Boolean

Remarks

You can use the CleanupProjectFromCache method if you suspect the project in the local cache is corrupted. If FileName is omitted, CleanupProjectFromCache does nothing.

Example

CleanupProjectFromCache("Sample.mpp")
© 2018 Microsoft