Aracılığıyla paylaş


DataLakeLeaseClientExtensions.GetDataLakeLeaseClient Method

Definition

Overloads

GetDataLakeLeaseClient(DataLakeFileSystemClient, String)

Initializes a new instance of the DataLakeLeaseClient class.

GetDataLakeLeaseClient(DataLakePathClient, String)

Initializes a new instance of the DataLakeLeaseClient class.

GetDataLakeLeaseClient(DataLakeFileSystemClient, String)

Source:
DataLakeLeaseClientExtensions.cs
Source:
DataLakeLeaseClientExtensions.cs

Initializes a new instance of the DataLakeLeaseClient class.

public static Azure.Storage.Files.DataLake.DataLakeLeaseClient GetDataLakeLeaseClient (this Azure.Storage.Files.DataLake.DataLakeFileSystemClient client, string leaseId = default);
static member GetDataLakeLeaseClient : Azure.Storage.Files.DataLake.DataLakeFileSystemClient * string -> Azure.Storage.Files.DataLake.DataLakeLeaseClient
<Extension()>
Public Function GetDataLakeLeaseClient (client As DataLakeFileSystemClient, Optional leaseId As String = Nothing) As DataLakeLeaseClient

Parameters

client
DataLakeFileSystemClient

A DataLakeFileSystemClient representing the file system being leased.

leaseId
String

An optional lease ID. If no lease ID is provided, a random lease ID will be created.

Returns

Applies to

GetDataLakeLeaseClient(DataLakePathClient, String)

Source:
DataLakeLeaseClientExtensions.cs
Source:
DataLakeLeaseClientExtensions.cs

Initializes a new instance of the DataLakeLeaseClient class.

public static Azure.Storage.Files.DataLake.DataLakeLeaseClient GetDataLakeLeaseClient (this Azure.Storage.Files.DataLake.DataLakePathClient client, string leaseId = default);
static member GetDataLakeLeaseClient : Azure.Storage.Files.DataLake.DataLakePathClient * string -> Azure.Storage.Files.DataLake.DataLakeLeaseClient
<Extension()>
Public Function GetDataLakeLeaseClient (client As DataLakePathClient, Optional leaseId As String = Nothing) As DataLakeLeaseClient

Parameters

client
DataLakePathClient

A DataLakePathClient representing the path being leased.

leaseId
String

An optional lease ID. If no lease ID is provided, a random lease ID will be created.

Returns

Applies to