Freigeben über


IVsDeployableProjectCfg.Rollback(UInt32) Method

Definition

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.

Applies to