Deployment.RoleInstances 属性
Gets or sets a collection of RoleInstance objects that define the role instances that are running in the deployment.
命名空间: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetDetailedResponse
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)
使用
用法
Dim instance As Deployment
Dim value As IList(Of RoleInstance)
value = instance.RoleInstances
instance.RoleInstances = value
语法
声明
Public Property RoleInstances As IList(Of RoleInstance)
public IList<RoleInstance> RoleInstances { get; set; }
public:
property IList<RoleInstance^>^ RoleInstances {
IList<RoleInstance^>^ get ();
void set (IList<RoleInstance^>^ value);
}
/** @property */
public IList<RoleInstance> get_RoleInstances ()
/** @property */
public void set_RoleInstances (IList<RoleInstance> value)
public function get RoleInstances () : IList<RoleInstance>
public function set RoleInstances (value : IList<RoleInstance>)
属性值
A collection of RoleInstance objects.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
Deployment 类
Deployment 成员
Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetDetailedResponse 命名空间