IScheduleOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

Delete the schedule identified by schedule name. (see http://aka.ms/azureautomationsdk/scheduleoperations for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string automationAccount, string scheduleName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (automationAccount As String, scheduleName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

automationAccount
String

The automation account name.

scheduleName
String

The schedule name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to