DataLakeDirectoryClient.WithCustomerProvidedKey Method

Definition

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

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

Parameters

customerProvidedKey
Nullable<DataLakeCustomerProvidedKey>

The customer provided key.

Returns

A new DataLakeDirectoryClient instance.

Remarks

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

Applies to