IVsProjectUpgradeViaFactory.GetSccInfo Method

Gets source code control information.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetSccInfo(
	string bstrProjectFileName,
	out string pbstrSccProjectName,
	out string pbstrSccAuxPath,
	out string pbstrSccLocalPath,
	out string pbstrProvider
)

Parameters

bstrProjectFileName
Type: System.String

[in] Name of the project file.

pbstrSccProjectName
Type: System.String

[out] Name of the source control project.

pbstrSccAuxPath
Type: System.String

[out] Auxiliary path to the source control depot.

pbstrSccLocalPath
Type: System.String

[out] Local path to the source control depot.

pbstrProvider
Type: System.String

[out] Source control provider.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

C++

From vsshell80.idl:

HRESULT GetSccInfo(
    [in]  BSTR               bstrProjectFileName,
    [out] BSTR*              pbstrSccProjectName,
    [out] BSTR*              pbstrSccAuxPath,
    [out] BSTR*              pbstrSccLocalPath,
    [out] BSTR*              pbstrProvider
);

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft