Compartir a través de


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

'Declaración
Function Rollback ( _
    dwReserved As UInteger _
) As Integer
'Uso
Dim instance As IVsDeployableProjectCfg
Dim dwReserved As UInteger
Dim returnValue As Integer

returnValue = instance.Rollback(dwReserved)
int Rollback(
    uint dwReserved
)
int Rollback(
    unsigned int dwReserved
)
abstract Rollback : 
        dwReserved:uint32 -> int 
function Rollback(
    dwReserved : uint
) : int

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.

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

See Also

Reference

IVsDeployableProjectCfg Interface

IVsDeployableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace