Export (0) Print
Expand All

IVsSolutionEventsProjectUpgrade.OnAfterUpgradeProject Method

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)

int OnAfterUpgradeProject (
	[InAttribute] IVsHierarchy pHierarchy,
	[InAttribute] uint fUpgradeFlag,
	[InAttribute] string bstrCopyLocation,
	[InAttribute] SYSTEMTIME stUpgradeTime,
	[InAttribute] IVsUpgradeLogger pLogger
)
int OnAfterUpgradeProject (
	/** @attribute InAttribute() */ IVsHierarchy pHierarchy, 
	/** @attribute InAttribute() */ UInt32 fUpgradeFlag, 
	/** @attribute InAttribute() */ String bstrCopyLocation, 
	/** @attribute InAttribute() */ SYSTEMTIME stUpgradeTime, 
	/** @attribute InAttribute() */ IVsUpgradeLogger pLogger
)
function OnAfterUpgradeProject (
	pHierarchy : IVsHierarchy, 
	fUpgradeFlag : uint, 
	bstrCopyLocation : String, 
	stUpgradeTime : SYSTEMTIME, 
	pLogger : IVsUpgradeLogger
) : int

Parameters

pHierarchy

[in] Pointer to the IVsHierarchy interface of the project.

fUpgradeFlag

[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

[in] String containing the location of the copy upgrade (PUVFF_COPYUPGRADE) or back up copy (PUVFF_COPYBACKUP).

stUpgradeTime

[in] A SYSTEMTIME value. The time the upgrade was done.

pLogger

[in] Pointer to an IVsUpgradeLogger interface to use for logging upgrade messages.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Community Additions

ADD
Show:
© 2015 Microsoft