Share via


DataLakeFileClient.WithCustomerProvidedKey Method

Definition

Initializes a new instance of the DataLakeFileClient class with an identical Uri source but the specified customerProvidedKey.

public Azure.Storage.Files.DataLake.DataLakeFileClient WithCustomerProvidedKey (Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey? customerProvidedKey);
override this.WithCustomerProvidedKey : Nullable<Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey> -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Function WithCustomerProvidedKey (customerProvidedKey As Nullable(Of DataLakeCustomerProvidedKey)) As DataLakeFileClient

Parameters

customerProvidedKey
Nullable<DataLakeCustomerProvidedKey>

The customer provided key.

Returns

A new DataLakeFileClient instance.

Remarks

Pass null to remove the customer provide key in the returned DataLakeFileClient.

Applies to