LibraryClient.StartCreateAsync(String, CancellationToken) Method

Definition

Creates a library with the library name.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.LibraryCreateOperation> StartCreateAsync (string libraryName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.LibraryCreateOperation>
override this.StartCreateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.LibraryCreateOperation>
Public Overridable Function StartCreateAsync (libraryName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LibraryCreateOperation)

Parameters

libraryName
String

file name to upload. Minimum length of the filename should be 1 excluding the extension length.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

libraryName is null.

Applies to