Compartilhar via


SpecializedShareExtensions.GetParentShareDirectoryClient Método

Definição

Crie um novo ShareDirectoryClient que aponte para o contêiner pai deste ShareFileClient. O novo ShareDirectoryClient usa o mesmo pipeline de política de solicitação que o 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

Parâmetros

Retornos

Uma nova instância de ShareDirectoryClient.

Aplica-se a