Share via


SpecializedShareExtensions Class

Definition

Add easy to discover methods to ShareFileClient for creating ShareClient instances.

public static class SpecializedShareExtensions
type SpecializedShareExtensions = class
Public Module SpecializedShareExtensions
Inheritance
SpecializedShareExtensions

Methods

GetParentDirectoryClient(ShareDirectoryClient)

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

GetParentServiceClient(ShareClient)

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

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.

GetParentShareDirectoryClient(ShareFileClient)

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

Applies to