IVsDeployableProjectCfg::Rollback Method (UInt32)

 

Alerts a deployment project that a deployment operation has failed.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Rollback(
	unsigned int dwReserved
)

Parameters

dwReserved
Type: System::UInt32

[in] Reserved and must be set to zero. Call if any deployments failed.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsDeployableProjectCfg::Rollback(
   DWORD dwReserved
);

When this method is called, the deployment project must do whatever is appropriate to rollback changes and restore the state of the project.

Return to top
Show: