Table of Contents

Class ShareFileLease

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

ShareFileLease.

public class ShareFileLease
Inheritance
ShareFileLease
Inherited Members

Properties

ETag

The ETag contains a value that you can use to perform operations conditionally, in quotes.

public ETag ETag { get; }

Property Value

ETag

LastModified

Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share.

public DateTimeOffset LastModified { get; }

Property Value

DateTimeOffset

LeaseId

Uniquely identifies a file's lease.

public string LeaseId { get; }

Property Value

string

LeaseTime

Gets the approximate time remaining in the lease period, in seconds. This is only provided when breaking a lease.

public int? LeaseTime { get; }

Property Value

int?