GatewayOperationsExtensions.BeginSetDefaultSitesAsync 方法 (IGatewayOperations, String, GatewaySetDefaultSiteListParameters)

 

开始设置虚拟网络网关共享密钥操作设置的默认站点上指定的虚拟网络的虚拟网络网关。

命名空间:   Microsoft.WindowsAzure.Management.Network
程序集:  Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)

语法

public static Task<GatewayOperationResponse> BeginSetDefaultSitesAsync(
    this IGatewayOperations operations,
    string networkName,
    GatewaySetDefaultSiteListParameters parameters
)
public:
[ExtensionAttribute]
static Task<GatewayOperationResponse^>^ BeginSetDefaultSitesAsync(
    IGatewayOperations^ operations,
    String^ networkName,
    GatewaySetDefaultSiteListParameters^ parameters
)
static member BeginSetDefaultSitesAsync : 
        operations:IGatewayOperations *
        networkName:string *
        parameters:GatewaySetDefaultSiteListParameters -> Task<GatewayOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginSetDefaultSitesAsync (
    operations As IGatewayOperations,
    networkName As String,
    parameters As GatewaySetDefaultSiteListParameters
) As Task(Of GatewayOperationResponse)

参数

  • networkName
    Type: System.String

    必需。 此网关的虚拟网络的的名称。

返回值

Type: System.Threading.Tasks.Task<GatewayOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

GatewayOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间

返回页首