GatewayConnection.ConnectivityState 属性

Optional. The connection state of the site. You can set the connection state to Connected, Connecting, or NotConnected.

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

使用

用法
Dim instance As GatewayConnection
Dim value As GatewayConnectivityState

value = instance.ConnectivityState

instance.ConnectivityState = value

语法

声明
Public Property ConnectivityState As GatewayConnectivityState
public GatewayConnectivityState ConnectivityState { get; set; }
public:
property GatewayConnectivityState ConnectivityState {
    GatewayConnectivityState get ();
    void set (GatewayConnectivityState value);
}
/** @property */
public GatewayConnectivityState get_ConnectivityState ()

/** @property */
public void set_ConnectivityState (GatewayConnectivityState value)
public function get ConnectivityState () : GatewayConnectivityState

public function set ConnectivityState (value : GatewayConnectivityState)

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

GatewayConnection 类
GatewayConnection 成员
Microsoft.WindowsAzure.Management.Network.Models.GatewayListConnectionsResponse 命名空间