DataLakeLeaseClientExtensions.GetDataLakeLeaseClient 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.
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)
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)
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
Azure SDK for .NET