AdlsClient.CreateDirectory(String, String, CancellationToken) 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.
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
- String
Name of directory
- octalPermission
- String
Octal permission
- cancelToken
- CancellationToken
CancellationToken to cancel the request
Returns
true if it creates the directory else false
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET