Share via


GatewayGetSharedKeyResponse.SharedKey Property

Optional. Contains the shared key used by the gateway to authenticate connections to sites on a virtual network.

Namespace: Microsoft.WindowsAzure.Management.Network.Models
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Usage

'Usage
Dim instance As GatewayGetSharedKeyResponse
Dim value As String

value = instance.SharedKey

instance.SharedKey = value

Syntax

'Declaration
Public Property SharedKey As String
public string SharedKey { get; set; }
public:
property String^ SharedKey {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SharedKey ()

/** @property */
public void set_SharedKey (String value)
public function get SharedKey () : String

public function set SharedKey (value : String)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

GatewayGetSharedKeyResponse Class
GatewayGetSharedKeyResponse Members
Microsoft.WindowsAzure.Management.Network.Models Namespace