SpecializedShareExtensions.GetParentShareClient 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.
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
- client
- ShareDirectoryClient
The ShareDirectoryClient.
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
- client
- ShareFileClient
The ShareFileClient.
Returns
A new ShareClient instance.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for