VirtualMachineOSImage.Location 属性

Optional. The geo-location in which this media is located. The Location value is derived from storage account that contains the blob in which the media is located. If the storage account belongs to an affinity group the value is NULL. If the version is set to 2012-08-01 or later, the locations are returned for platform images; otherwise, this value is NULL for platform images.

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

使用

用法
Dim instance As VirtualMachineOSImage
Dim value As String

value = instance.Location

instance.Location = value

语法

声明
Public Property Location As String
public string Location { get; set; }
public:
property String^ Location {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Location ()

/** @property */
public void set_Location (String value)
public function get Location () : String

public function set Location (value : String)

线程安全

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

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

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