VirtualMachineDisk.SourceImageName 属性
Gets or sets the name of the image to use to create the Virtual Machine.
命名空间: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineDiskListResponse
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)
使用
用法
Dim instance As VirtualMachineDisk
Dim value As String
value = instance.SourceImageName
instance.SourceImageName = value
语法
声明
Public Property SourceImageName As String
public string SourceImageName { get; set; }
public:
property String^ SourceImageName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_SourceImageName ()
/** @property */
public void set_SourceImageName (String value)
public function get SourceImageName () : String
public function set SourceImageName (value : String)
属性值
The name.
备注
You can specify a user image or a platform image. An image is always associated with a VHD, which is a .vhd file stored as a page blob in a storage account in Microsoft Azure. If you specify a platform image, an associated VHD is created and you must use the MediaLink to specify the location in storage where the VHD will be located.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
VirtualMachineDisk 类
VirtualMachineDisk 成员
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineDiskListResponse 命名空间