ShareClient.GetRootDirectoryClient Method

Definition

Create a ShareDirectoryClient object for the root of the share. The new ShareDirectoryClient uses the same request policy pipeline as the ShareClient.

public virtual Azure.Storage.Files.Shares.ShareDirectoryClient GetRootDirectoryClient ();
abstract member GetRootDirectoryClient : unit -> Azure.Storage.Files.Shares.ShareDirectoryClient
override this.GetRootDirectoryClient : unit -> Azure.Storage.Files.Shares.ShareDirectoryClient
Public Overridable Function GetRootDirectoryClient () As ShareDirectoryClient

Returns

A new ShareDirectoryClient instance.

Applies to