Share via


GatewayResetSharedKeyParameters.KeyLength Property

Gets or sets the number of bytes in the shared key.

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

Usage

'Usage
Dim instance As GatewayResetSharedKeyParameters
Dim value As Integer

value = instance.KeyLength

instance.KeyLength = value

Syntax

'Declaration
Public Property KeyLength As Integer
public int KeyLength { get; set; }
public:
property int KeyLength {
    int get ();
    void set (int value);
}
/** @property */
public int get_KeyLength ()

/** @property */
public void set_KeyLength (int value)
public function get KeyLength () : int

public function set KeyLength (value : int)

Property Value

The number of bytes.

Remarks

Minimum is 1 and maximum is 128.

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

GatewayResetSharedKeyParameters Class
GatewayResetSharedKeyParameters Members
Microsoft.WindowsAzure.Management.VirtualNetworks.Models Namespace