EDMIService: Use EDMI.File functions, add DatastorePath
This commit is contained in:
@@ -14,8 +14,8 @@ Public Class Archive
|
||||
''' Sets a retention-period for a give file path by setting the file attributes LastAccessTime and ReadOnly
|
||||
''' </summary>
|
||||
''' <param name="FilePath"></param>
|
||||
''' <param name="RetentionTimeInDays"></param>
|
||||
''' <param name="[ReadOnly]"></param>
|
||||
''' <param name="RetentionTimeInDays">If greater than 0, sets this plus the current date as LastAccessTime</param>
|
||||
''' <param name="[ReadOnly]">If true, sets ReadOnly Attribute</param>
|
||||
Public Sub SetRetention(FilePath As String, RetentionTimeInDays As Integer, [ReadOnly] As Boolean)
|
||||
Try
|
||||
If RetentionTimeInDays > 0 Then
|
||||
|
||||
Reference in New Issue
Block a user