Rollback Method

IVsDeployableProjectCfg.Rollback Method

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(
	uint 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.

COM Signature

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.

Community Additions

ADD
Show:
© 2016 Microsoft