Share via


DataLakePathClient.WithCustomerProvidedKey Method

Definition

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

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

Parameters

customerProvidedKey
Nullable<DataLakeCustomerProvidedKey>

The customer provided key.

Returns

A new DataLakePathClient instance.

Remarks

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

Applies to