Share via


PageBlobClient.WithCustomerProvidedKey Method

Definition

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

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

Parameters

customerProvidedKey
Nullable<CustomerProvidedKey>

The customer provided key.

Returns

A new PageBlobClient instance.

Remarks

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

Applies to