OperatingSystem.IsActive 属性

Gets or sets whether this operating system version is currently active for running a service.

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

使用

用法
Dim instance As OperatingSystem
Dim value As Boolean

value = instance.IsActive

instance.IsActive = value

语法

声明
Public Property IsActive As Boolean
public bool IsActive { get; set; }
public:
property bool IsActive {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IsActive ()

/** @property */
public void set_IsActive (boolean value)
public function get IsActive () : boolean

public function set IsActive (value : boolean)

属性值

true if this operating system version is currently active for running a service; otherwise, false.

备注

If an operating system version is active, you can manually configure your service to run on that version. An operating system version may be inactive for one of two reasons:

  • It is not yet active as it is in the process of being rolled out to Microsoft Azure data centers. If your service is configured to use auto-upgrade, it will be upgraded to the new operating system version during the rollout. If you are manually configuring your operating system version, you can upgrade to the latest version once it becomes active.

  • It is no longer supported for running a service. In this case you will either need to manually configure your service to run on a newer version, or configure your service to use auto-upgrade to manage operating system upgrades.

线程安全

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

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

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