Compartilhar via


SpecializedShareExtensions.GetParentServiceClient(ShareClient) Método

Definição

Crie um novo ShareServiceClient que aponte para o contêiner pai deste ShareClient. O novo ShareServiceClient usa o mesmo pipeline de política de solicitação que o ShareClient.

public static Azure.Storage.Files.Shares.ShareServiceClient GetParentServiceClient (this Azure.Storage.Files.Shares.ShareClient client);
static member GetParentServiceClient : Azure.Storage.Files.Shares.ShareClient -> Azure.Storage.Files.Shares.ShareServiceClient
<Extension()>
Public Function GetParentServiceClient (client As ShareClient) As ShareServiceClient

Parâmetros

Retornos

Uma nova instância de ShareServiceClient.

Aplica-se a