Share via


VirtualMachineCaptureOSImageParameters.PostCaptureAction Property

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.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As VirtualMachineCaptureOSImageParameters
Dim value As PostCaptureAction

value = instance.PostCaptureAction

instance.PostCaptureAction = value

Syntax

'Declaration
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)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineCaptureOSImageParameters Class
VirtualMachineCaptureOSImageParameters Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace