VirtualMachineDiskCreateDataDiskParameters.HostCaching Property

Gets or sets a VirtualHardDiskHostCaching value that specifies the caching mode of a data disk.

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

Usage

'Usage
Dim instance As VirtualMachineDiskCreateDataDiskParameters
Dim value As VirtualHardDiskHostCaching

value = instance.HostCaching

instance.HostCaching = value

Syntax

'Declaration
Public Property HostCaching As VirtualHardDiskHostCaching
public VirtualHardDiskHostCaching HostCaching { get; set; }
public:
property VirtualHardDiskHostCaching HostCaching {
    VirtualHardDiskHostCaching get ();
    void set (VirtualHardDiskHostCaching value);
}
/** @property */
public VirtualHardDiskHostCaching get_HostCaching ()

/** @property */
public void set_HostCaching (VirtualHardDiskHostCaching value)
public function get HostCaching () : VirtualHardDiskHostCaching

public function set HostCaching (value : VirtualHardDiskHostCaching)

Property Value

A VirtualHardDiskHostCaching value.

Remarks

The default value is None.

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

VirtualMachineDiskCreateDataDiskParameters Class
VirtualMachineDiskCreateDataDiskParameters Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace