IVsDeployableProjectCfg.Rollback(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Alerts a deployment project that a deployment operation has failed.
public:
int Rollback(System::UInt32 dwReserved);
public:
int Rollback(unsigned int dwReserved);
int Rollback(unsigned int dwReserved);
public int Rollback (uint dwReserved);
abstract member Rollback : uint32 -> int
Public Function Rollback (dwReserved As UInteger) As Integer
Parameters
- dwReserved
- UInt32
[in] Reserved and must be set to zero. Call if any deployments failed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
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.