GetExpireDays

STD.File.GetExpireDays(lfn)

lfnA string containing the logical name of the file.

The GetExpireDays function retrieves a logical file's expiration criteria (the expireDays attribute). A return of -1 indicates that there is no expiration set.

Example:

A := STD.File.GetExpireDays('~samples::myscope::myfile');
 //returns a file's expireDays 

See Also: SetExpireDays, ClearExpireDays