VirtualMachineOperationsExtensions::GetRemoteDesktopFile Method (IVirtualMachineOperations^, String^, String^, String^)

 

Retrieves the Remote Desktop Protocol (RDP) file from the specified Virtual Machine.

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

public:
[ExtensionAttribute]
static VirtualMachineGetRemoteDesktopFileResponse^ GetRemoteDesktopFile(
	IVirtualMachineOperations^ operations,
	String^ serviceName,
	String^ deploymentName,
	String^ virtualMachineName
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute::IVirtualMachineOperations^

The IVirtualMachineOperations object that specifies the operations for managing Virtual Machines.

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.

Return Value

Type: Microsoft.WindowsAzure.Management.Compute.Models::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: