Partager via


IFsrmFileManagementJob.DaysSinceFileLastAccessed Property

 

Retrieves or sets the number of days that have elapsed since the file was last accessed.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

int DaysSinceFileLastAccessed { get; set; }
property int DaysSinceFileLastAccessed {
    int get();
    void set(int value);
}
abstract DaysSinceFileLastAccessed : int with get, set
Property DaysSinceFileLastAccessed As Integer

Property Value

Type: System.Int32

Returns a Int32 containing the number of days that have elapsed since the file was last accessed. Must be a non-negative integer value.

Remarks

The value is FsrmDaysNotSpecified if not set.

The job considers this condition met for a file if the file's last accessed date minus the job's current run date is less than the value of daysSinceAccess.

See Also

IFsrmFileManagementJob Interface
Microsoft.Storage Namespace

Return to top