AdlsClient.CreateDirectory(String, String, CancellationToken) Method

Definition

Synchronous API to create a directory

public virtual bool CreateDirectory (string dirName, string octalPermission = default, System.Threading.CancellationToken cancelToken = default);
abstract member CreateDirectory : string * string * System.Threading.CancellationToken -> bool
override this.CreateDirectory : string * string * System.Threading.CancellationToken -> bool
Public Overridable Function CreateDirectory (dirName As String, Optional octalPermission As String = Nothing, Optional cancelToken As CancellationToken = Nothing) As Boolean

Parameters

dirName
System.String

Name of directory

octalPermission
System.String

Octal permission

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Returns

System.Boolean

true if it creates the directory else false

Applies to