SpecializedShareExtensions.GetParentShareDirectoryClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- client
- ShareFileClient
The ShareFileClient.
Returns
A new ShareDirectoryClient instance.