IVNetOperations.GetAsync(String, Boolean, CancellationToken) Method

Definition

Gets the specified virtual network's configuration.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.VNetResult> GetAsync (string vNetName, bool includeSharedKey, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.VNetResult>
Public Function GetAsync (vNetName As String, includeSharedKey As Boolean, cancellationToken As CancellationToken) As Task(Of VNetResult)

Parameters

vNetName
String

RemoteApp virtual network name.

includeSharedKey
Boolean

Set to true to get back the shared key used to configure the VPN connection

cancellationToken
CancellationToken

Cancellation token.

Returns

RemoteApp virtual network information.

Applies to