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

IVirtualMachineOperations.GetRemoteDesktopFileAsync 方法

定义

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

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)

参数

serviceName
String

服务的名称。

deploymentName
String

部署的名称。

virtualMachineName
String

虚拟机的名称。

cancellationToken
CancellationToken

取消标记。

返回

下载 RDP 文件操作响应。

适用于