你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataLakePathScheduleDeletionOptions Class

Definition

Options for scheduling the deletion of a path.

public class DataLakePathScheduleDeletionOptions
type DataLakePathScheduleDeletionOptions = class
Public Class DataLakePathScheduleDeletionOptions
Inheritance
DataLakePathScheduleDeletionOptions

Constructors

Name Description
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

Name Description
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