SpecializedShareExtensions.GetParentShareClient Method

Definition

Overloads

GetParentShareClient(ShareDirectoryClient)

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

GetParentShareClient(ShareFileClient)

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

GetParentShareClient(ShareDirectoryClient)

Source:
ShareDirectoryClient.cs
Source:
ShareDirectoryClient.cs

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

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

Parameters

Returns

A new ShareClient instance.

Applies to

GetParentShareClient(ShareFileClient)

Source:
ShareFileClient.cs
Source:
ShareFileClient.cs

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

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

Parameters

Returns

A new ShareClient instance.

Applies to