你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineOperationsExtensions.GetRemoteDesktopFileAsync 方法

定义

下载 RDP 文件操作从指定的虚拟机检索远程桌面协议配置文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/jj157183.aspx)

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

参数

operations
IVirtualMachineOperations

对 Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations 的引用。

serviceName
String

必需。 服务的名称。

deploymentName
String

必需。 部署的名称。

virtualMachineName
String

必需。 虚拟机的名称。

返回

下载 RDP 文件操作响应。

适用于