DataLakePathScheduleDeletionOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for scheduling the deletion of a path.
public class DataLakePathScheduleDeletionOptions
type DataLakePathScheduleDeletionOptions = class
Public Class DataLakePathScheduleDeletionOptions
- Inheritance
-
DataLakePathScheduleDeletionOptions
Constructors
DataLakePathScheduleDeletionOptions(Nullable<DateTimeOffset>) |
Constructor. Sets the DateTimeOffset when the path will be deleted. |
DataLakePathScheduleDeletionOptions(Nullable<TimeSpan>) |
Constructor. Sets time when the path will be deleted, relative to the current time. |
Properties
ExpiresOn |
The DateTimeOffset to set for when the file will be deleted. If null, the existing ExpiresOn time on the file will be removed, if it exists. Does not apply to directories. ExpiresOn and TimeToExpire cannot both be set. |
TimeToExpire |
Duration before file should be deleted. Does not apply to directories. TimeToExpire and ExpiresOn cannot both be set. |
Applies to
Azure SDK for .NET