DeploymentCreateParameters.StartDeployment 属性
Gets or sets whether to start the deployment immediately after it is created.
命名空间: Microsoft.WindowsAzure.Management.Compute.Models
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)
使用
用法
Dim instance As DeploymentCreateParameters
Dim value As Nullable(Of Boolean)
value = instance.StartDeployment
instance.StartDeployment = value
语法
声明
Public Property StartDeployment As Nullable(Of Boolean)
public Nullable<bool> StartDeployment { get; set; }
public:
property Nullable<bool> StartDeployment {
Nullable<bool> get ();
void set (Nullable<bool> value);
}
/** @property */
public Nullable<boolean> get_StartDeployment ()
/** @property */
public void set_StartDeployment (Nullable<boolean> value)
public function get StartDeployment () : Nullable<boolean>
public function set StartDeployment (value : Nullable<boolean>)
属性值
true to start the deployment immediately; otherwise, false.
备注
The default value is false. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is Suspended until you call a method to update the status. A deployed service still incurs charges, even if it is suspended.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
DeploymentCreateParameters 类
DeploymentCreateParameters 成员
Microsoft.WindowsAzure.Management.Compute.Models 命名空间