DataVirtualHardDisk.LogicalUnitNumber 属性

Gets or sets the Logical Unit Number (LUN) for the data disk.

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

使用

用法
Dim instance As DataVirtualHardDisk
Dim value As Nullable(Of Integer)

value = instance.LogicalUnitNumber

instance.LogicalUnitNumber = value

语法

声明
Public Property LogicalUnitNumber As Nullable(Of Integer)
public Nullable<int> LogicalUnitNumber { get; set; }
public:
property Nullable<int> LogicalUnitNumber {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
/** @property */
public Nullable<int> get_LogicalUnitNumber ()

/** @property */
public void set_LogicalUnitNumber (Nullable<int> value)
public function get LogicalUnitNumber () : Nullable<int>

public function set LogicalUnitNumber (value : Nullable<int>)

属性值

The LUN.

备注

If the disk is the first disk that is added, this property is optional and the default value of 0 is used. If more than one disk is being added, this property is required. Valid LUN values are 0 through 15.

线程安全

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

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

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