Share via


DataLakeFileScheduleDeletionOptions Constructors

Definition

Overloads

DataLakeFileScheduleDeletionOptions()

Constructor. If the file was scheduled for deletetion, the deletion will be cancelled.

DataLakeFileScheduleDeletionOptions(Nullable<DateTimeOffset>)

Constructor. Sets the DateTimeOffset when the file will be deleted.

DataLakeFileScheduleDeletionOptions(TimeSpan, DataLakeFileExpirationOrigin)

Constructor. Sets time when the file will be deleted, relative to the file creation time or the current time.

DataLakeFileScheduleDeletionOptions()

Source:
DataLakeFileScheduleDeletionOptions.cs
Source:
DataLakeFileScheduleDeletionOptions.cs

Constructor. If the file was scheduled for deletetion, the deletion will be cancelled.

public DataLakeFileScheduleDeletionOptions ();
Public Sub New ()

Applies to

DataLakeFileScheduleDeletionOptions(Nullable<DateTimeOffset>)

Source:
DataLakeFileScheduleDeletionOptions.cs
Source:
DataLakeFileScheduleDeletionOptions.cs

Constructor. Sets the DateTimeOffset when the file will be deleted.

public DataLakeFileScheduleDeletionOptions (DateTimeOffset? expiresOn);
new Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions : Nullable<DateTimeOffset> -> Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions
Public Sub New (expiresOn As Nullable(Of DateTimeOffset))

Parameters

expiresOn
Nullable<DateTimeOffset>

The DateTimeOffset when the file will be deleted. If null, if the file was already scheduled for deletion, the deletion will be cancelled.

Applies to

DataLakeFileScheduleDeletionOptions(TimeSpan, DataLakeFileExpirationOrigin)

Source:
DataLakeFileScheduleDeletionOptions.cs
Source:
DataLakeFileScheduleDeletionOptions.cs

Constructor. Sets time when the file will be deleted, relative to the file creation time or the current time.

public DataLakeFileScheduleDeletionOptions (TimeSpan timeToExpire, Azure.Storage.Files.DataLake.Models.DataLakeFileExpirationOrigin setRelativeTo);
new Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions : TimeSpan * Azure.Storage.Files.DataLake.Models.DataLakeFileExpirationOrigin -> Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions
Public Sub New (timeToExpire As TimeSpan, setRelativeTo As DataLakeFileExpirationOrigin)

Parameters

timeToExpire
TimeSpan

Duration before file will be deleted.

setRelativeTo
DataLakeFileExpirationOrigin

Specifies if TimeToExpire should be set relative to the file's creation time, or the current time. Defaults to current time.

Applies to