다음을 통해 공유


BlobClient.WithCustomerProvidedKey Method

Definition

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

public Azure.Storage.Blobs.BlobClient WithCustomerProvidedKey (Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey);
override this.WithCustomerProvidedKey : Nullable<Azure.Storage.Blobs.Models.CustomerProvidedKey> -> Azure.Storage.Blobs.BlobClient
Public Function WithCustomerProvidedKey (customerProvidedKey As Nullable(Of CustomerProvidedKey)) As BlobClient

Parameters

customerProvidedKey
Nullable<CustomerProvidedKey>

The customer provided key.

Returns

A new BlobClient instance.

Remarks

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

Applies to