VirtualMachineOSImageReplicateParameters.TargetLocations 属性

Optional. The replication target regional locations.Note: The regions in the request body are not additive. If an OS Image has already been replicated to Regions A, B, and C, and a request is made to replicate to Regions A and D, the VM Image will remain in Region A, will be replicated in Region D, and will be unreplicated from Regions B and C.

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

使用

用法
Dim instance As VirtualMachineOSImageReplicateParameters
Dim value As IList(Of String)

value = instance.TargetLocations

instance.TargetLocations = value

语法

声明
Public Property TargetLocations As IList(Of String)
public IList<string> TargetLocations { get; set; }
public:
property IList<String^>^ TargetLocations {
    IList<String^>^ get ();
    void set (IList<String^>^ value);
}
/** @property */
public IList<String> get_TargetLocations ()

/** @property */
public void set_TargetLocations (IList<String> value)
public function get TargetLocations () : IList<String>

public function set TargetLocations (value : IList<String>)

线程安全

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

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

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