VirtualMachineCaptureOSImageParameters.PostCaptureAction 属性
Required. Specifies the action that is performed after the capture operation finishes. Possible values are: Delete - this value causes the virtual machine to be deleted after the image has been captured; or Reprovision - this value causes the virtual machine to be redeployed after the image is captured by using the specified information in ProvisioningConfiguration.
命名空间: Microsoft.WindowsAzure.Management.Compute.Models
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)
使用
用法
Dim instance As VirtualMachineCaptureOSImageParameters
Dim value As PostCaptureAction
value = instance.PostCaptureAction
instance.PostCaptureAction = value
语法
声明
Public Property PostCaptureAction As PostCaptureAction
public PostCaptureAction PostCaptureAction { get; set; }
public:
property PostCaptureAction PostCaptureAction {
PostCaptureAction get ();
void set (PostCaptureAction value);
}
/** @property */
public PostCaptureAction get_PostCaptureAction ()
/** @property */
public void set_PostCaptureAction (PostCaptureAction value)
public function get PostCaptureAction () : PostCaptureAction
public function set PostCaptureAction (value : PostCaptureAction)
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
VirtualMachineCaptureOSImageParameters 类
VirtualMachineCaptureOSImageParameters 成员
Microsoft.WindowsAzure.Management.Compute.Models 命名空间