Udostępnij za pośrednictwem


IVirtualMachineOperations.GetRemoteDesktopFileAsync Method

Definition

The Download RDP file operation retrieves the Remote Desktop Protocol configuration file from the specified virtual machine. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157183.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineGetRemoteDesktopFileResponse> GetRemoteDesktopFileAsync (string serviceName, string deploymentName, string virtualMachineName, System.Threading.CancellationToken cancellationToken);
abstract member GetRemoteDesktopFileAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineGetRemoteDesktopFileResponse>
Public Function GetRemoteDesktopFileAsync (serviceName As String, deploymentName As String, virtualMachineName As String, cancellationToken As CancellationToken) As Task(Of VirtualMachineGetRemoteDesktopFileResponse)

Parameters

serviceName
String

The name of your service.

deploymentName
String

The name of your deployment.

virtualMachineName
String

The name of the virtual machine.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Download RDP file operation response.

Applies to