IVirtualMachineOperations.GetRemoteDesktopFileAsync Method (String, String, String, CancellationToken)

 

Asynchronously retrieves the Remote Desktop Protocol configuration file from the specified Virtual Machine.

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

Function GetRemoteDesktopFileAsync (
	serviceName As String,
	deploymentName As String,
	virtualMachineName As String,
	cancellationToken As CancellationToken
) As Task(Of VirtualMachineGetRemoteDesktopFileResponse)

Parameters

serviceName
Type: System.String

The name of the cloud service that contains the Virtual Machine.

deploymentName
Type: System.String

The name of the deployment.

virtualMachineName
Type: System.String

The name of the Virtual Machine from which the RDP file should be retrieved.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of VirtualMachineGetRemoteDesktopFileResponse)

The VirtualMachineGetRemoteDesktopFileResponse object that contains the RDP file for accessing the Virtual Machine.

For more information about downloading the RDP file, see the following resources:

Return to top
Show: