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)
Syntax
'Declaration
Function Rollback ( _
dwReserved As UInteger _
) As Integer
int Rollback(
uint dwReserved
)
int Rollback(
unsigned int dwReserved
)
abstract Rollback :
dwReserved:uint32 -> int
function Rollback(
dwReserved : uint
) : int
Parameters
dwReserved
Type: UInt32[in] Reserved and must be set to zero. Call if any deployments failed.
Return Value
Type: Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.