DataLakeStoreFileSystemClient.SetExpiry Method
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.
Sets the expiry time of the file. If expiry option is not specified then tries to guess the option based on timeToSet value.
public Microsoft.Azure.DataLake.Store.DirectoryEntry SetExpiry (string path, string accountName, long timeToSet, Microsoft.Azure.DataLake.Store.ExpiryOption? exop = default);
member this.SetExpiry : string * string * int64 * Nullable<Microsoft.Azure.DataLake.Store.ExpiryOption> -> Microsoft.Azure.DataLake.Store.DirectoryEntry
Public Function SetExpiry (path As String, accountName As String, timeToSet As Long, Optional exop As Nullable(Of ExpiryOption) = Nothing) As DirectoryEntry
Parameters
- path
- String
Path
- accountName
- String
Account name
- timeToSet
- Int64
Time to set
- exop
- Nullable<ExpiryOption>
ExpiryOption
Returns
FileStatus after setting the expiry