다음을 통해 공유


DataLakeLeaseClient Constructors

Definition

Overloads

DataLakeLeaseClient()

Initializes a new instance of the DataLakeLeaseClient class for mocking.

DataLakeLeaseClient(DataLakeFileSystemClient, String)

Initializes a new instance of the DataLakeLeaseClient class.

DataLakeLeaseClient(DataLakePathClient, String)

Initializes a new instance of the DataLakeLeaseClient class.

DataLakeLeaseClient()

Source:
DataLakeLeaseClient.cs
Source:
DataLakeLeaseClient.cs

Initializes a new instance of the DataLakeLeaseClient class for mocking.

protected DataLakeLeaseClient ();
Protected Sub New ()

Applies to

DataLakeLeaseClient(DataLakeFileSystemClient, String)

Source:
DataLakeLeaseClient.cs
Source:
DataLakeLeaseClient.cs

Initializes a new instance of the DataLakeLeaseClient class.

public DataLakeLeaseClient (Azure.Storage.Files.DataLake.DataLakeFileSystemClient client, string leaseId = default);
new Azure.Storage.Files.DataLake.DataLakeLeaseClient : Azure.Storage.Files.DataLake.DataLakeFileSystemClient * string -> Azure.Storage.Files.DataLake.DataLakeLeaseClient
Public Sub New (client As DataLakeFileSystemClient, Optional leaseId As String = Nothing)

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.

Applies to

DataLakeLeaseClient(DataLakePathClient, String)

Source:
DataLakeLeaseClient.cs
Source:
DataLakeLeaseClient.cs

Initializes a new instance of the DataLakeLeaseClient class.

public DataLakeLeaseClient (Azure.Storage.Files.DataLake.DataLakePathClient client, string leaseId = default);
new Azure.Storage.Files.DataLake.DataLakeLeaseClient : Azure.Storage.Files.DataLake.DataLakePathClient * string -> Azure.Storage.Files.DataLake.DataLakeLeaseClient
Public Sub New (client As DataLakePathClient, Optional leaseId As String = Nothing)

Parameters

client
DataLakePathClient

A BlobClient representing the blob being leased.

leaseId
String

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

Applies to