Share via


OSVirtualHardDisk.HostCaching Property

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

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

Usage

'Usage
Dim instance As OSVirtualHardDisk
Dim value As String

value = instance.HostCaching

instance.HostCaching = value

Syntax

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

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

public function set HostCaching (value : String)

Property Value

A VirtualHardDiskHostCaching value.

Remarks

This setting impacts the consistency and performance of the disk.

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

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