IVsProjectUpgradeViaFactory::GetSccInfo Method (String^, String^, String^, String^, String^)
Visual Studio 2015
Gets source code control information.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetSccInfo(
String^ bstrProjectFileName,
[OutAttribute] String^% pbstrSccProjectName,
[OutAttribute] String^% pbstrSccAuxPath,
[OutAttribute] String^% pbstrSccLocalPath,
[OutAttribute] 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::Int32If 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
);
Show: