Share via


BlockBlobClient.WithEncryptionScope(String) Method

Definition

Initializes a new instance of the BlockBlobClient class with an identical Uri source but the specified encryptionScope.

public Azure.Storage.Blobs.Specialized.BlockBlobClient WithEncryptionScope (string encryptionScope);
override this.WithEncryptionScope : string -> Azure.Storage.Blobs.Specialized.BlockBlobClient
Public Function WithEncryptionScope (encryptionScope As String) As BlockBlobClient

Parameters

encryptionScope
String

The encryption scope.

Returns

A new BlockBlobClient instance.

Remarks

Pass null to remove the encryption scope in the returned BlockBlobClient.

Applies to