Partager via


IVsProjectUpgradeViaFactory.GetSccInfo Method

Definition

Gets source code control information.

public:
 int GetSccInfo(System::String ^ bstrProjectFileName, [Runtime::InteropServices::Out] System::String ^ % pbstrSccProjectName, [Runtime::InteropServices::Out] System::String ^ % pbstrSccAuxPath, [Runtime::InteropServices::Out] System::String ^ % pbstrSccLocalPath, [Runtime::InteropServices::Out] System::String ^ % pbstrProvider);
int GetSccInfo(std::wstring const & bstrProjectFileName, [Runtime::InteropServices::Out] std::wstring const & & pbstrSccProjectName, [Runtime::InteropServices::Out] std::wstring const & & pbstrSccAuxPath, [Runtime::InteropServices::Out] std::wstring const & & pbstrSccLocalPath, [Runtime::InteropServices::Out] std::wstring const & & pbstrProvider);
public int GetSccInfo (string bstrProjectFileName, out string pbstrSccProjectName, out string pbstrSccAuxPath, out string pbstrSccLocalPath, out string pbstrProvider);
abstract member GetSccInfo : string * string * string * string * string -> int
Public Function GetSccInfo (bstrProjectFileName As String, ByRef pbstrSccProjectName As String, ByRef pbstrSccAuxPath As String, ByRef pbstrSccLocalPath As String, ByRef pbstrProvider As String) As Integer

Parameters

bstrProjectFileName
String

[in] Name of the project file.

pbstrSccProjectName
String

[out] Name of the source control project.

pbstrSccAuxPath
String

[out] Auxiliary path to the source control depot.

pbstrSccLocalPath
String

[out] Local path to the source control depot.

pbstrProvider
String

[out] Source control provider.

Returns

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

Remarks

C++

From vsshell80.idl:

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

Applies to