VirtualMachineCreateParameters.OSVirtualHardDisk 属性

Gets or sets an OSVirtualHardDisk object that defines the parameters that are used to create the operating system disk for a Virtual Machine.

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

使用

用法
Dim instance As VirtualMachineCreateParameters
Dim value As OSVirtualHardDisk

value = instance.OSVirtualHardDisk

instance.OSVirtualHardDisk = value

语法

声明
Public Property OSVirtualHardDisk As OSVirtualHardDisk
public OSVirtualHardDisk OSVirtualHardDisk { get; set; }
public:
property OSVirtualHardDisk^ OSVirtualHardDisk {
    OSVirtualHardDisk^ get ();
    void set (OSVirtualHardDisk^ value);
}
/** @property */
public OSVirtualHardDisk get_OSVirtualHardDisk ()

/** @property */
public void set_OSVirtualHardDisk (OSVirtualHardDisk value)
public function get OSVirtualHardDisk () : OSVirtualHardDisk

public function set OSVirtualHardDisk (value : OSVirtualHardDisk)

属性值

An OSVirtualHardDisk object.

线程安全

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

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

VirtualMachineCreateParameters 类
VirtualMachineCreateParameters 成员
Microsoft.WindowsAzure.Management.Compute.Models 命名空间