Share via


ScheduleOperationsExtensions.UpdateAsync Method

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

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim operations As IScheduleOperations
Dim automationAccount As String
Dim parameters As ScheduleUpdateParameters
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = ScheduleOperationsExtensions.UpdateAsync(operations, automationAccount, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function UpdateAsync ( _
    operations As IScheduleOperations, _
    automationAccount As String, _
    parameters As ScheduleUpdateParameters _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute] 
public static Task<AzureOperationResponse> UpdateAsync (
    IScheduleOperations operations,
    string automationAccount,
    ScheduleUpdateParameters parameters
)
[ExtensionAttribute] 
public:
static Task<AzureOperationResponse^>^ UpdateAsync (
    IScheduleOperations^ operations, 
    String^ automationAccount, 
    ScheduleUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<AzureOperationResponse> UpdateAsync (
    IScheduleOperations operations, 
    String automationAccount, 
    ScheduleUpdateParameters parameters
)
ExtensionAttribute 
public static function UpdateAsync (
    operations : IScheduleOperations, 
    automationAccount : String, 
    parameters : ScheduleUpdateParameters
) : Task<AzureOperationResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IScheduleOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the update schedule operation.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ScheduleOperationsExtensions Class
ScheduleOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace