Defines a method to call after a project upgrade.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnAfterUpgradeProject ( _
    pHierarchy As IVsHierarchy, _
    fUpgradeFlag As UInteger, _
    bstrCopyLocation As String, _
    stUpgradeTime As SYSTEMTIME, _
    pLogger As IVsUpgradeLogger _
) As Integer
int OnAfterUpgradeProject(
    IVsHierarchy pHierarchy,
    uint fUpgradeFlag,
    string bstrCopyLocation,
    SYSTEMTIME stUpgradeTime,
    IVsUpgradeLogger pLogger
)
int OnAfterUpgradeProject(
    [InAttribute] IVsHierarchy^ pHierarchy, 
    [InAttribute] unsigned int fUpgradeFlag, 
    [InAttribute] String^ bstrCopyLocation, 
    [InAttribute] SYSTEMTIME stUpgradeTime, 
    [InAttribute] IVsUpgradeLogger^ pLogger
)
abstract OnAfterUpgradeProject : 
        pHierarchy:IVsHierarchy * 
        fUpgradeFlag:uint32 * 
        bstrCopyLocation:string * 
        stUpgradeTime:SYSTEMTIME * 
        pLogger:IVsUpgradeLogger -> int
function OnAfterUpgradeProject(
    pHierarchy : IVsHierarchy, 
    fUpgradeFlag : uint, 
    bstrCopyLocation : String, 
    stUpgradeTime : SYSTEMTIME, 
    pLogger : IVsUpgradeLogger
) : int
Parameters
- pHierarchy 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy- [in] Pointer to the IVsHierarchy interface of the project. 
- fUpgradeFlag 
 Type: UInt32- [in] Integer. Flag indicating the nature of the upgrade. Values taken from the __VSPPROJECTUPGRADEVIAFACTORYFLAGS enumeration. Will only be PUVFF_COPYUPGRADE, PUVFF_SXSBACKUP, or PUVFF_COPYBACKUP. 
- bstrCopyLocation 
 Type: String- [in] String containing the location of the copy upgrade (PUVFF_COPYUPGRADE) or back up copy (PUVFF_COPYBACKUP). 
- stUpgradeTime 
 Type: Microsoft.VisualStudio.Shell.Interop.SYSTEMTIME- [in] A SYSTEMTIME value. The time the upgrade was done. 
- pLogger 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsUpgradeLogger- [in] Pointer to an IVsUpgradeLogger interface to use for logging upgrade messages. 
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.