SpecializedShareExtensions.GetParentShareDirectoryClient Method

Definition

Create a new ShareDirectoryClient that pointing to this ShareFileClient's parent container. The new ShareDirectoryClient uses the same request policy pipeline as the ShareFileClient.

public static Azure.Storage.Files.Shares.ShareDirectoryClient GetParentShareDirectoryClient (this Azure.Storage.Files.Shares.ShareFileClient client);
static member GetParentShareDirectoryClient : Azure.Storage.Files.Shares.ShareFileClient -> Azure.Storage.Files.Shares.ShareDirectoryClient
<Extension()>
Public Function GetParentShareDirectoryClient (client As ShareFileClient) As ShareDirectoryClient

Parameters

Returns

A new ShareDirectoryClient instance.

Applies to