IVsProjectUpgradeViaFactory.GetSccInfo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取源代码管理信息。
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
参数
- bstrProjectFileName
- String
中项目文件的名称。
- pbstrSccProjectName
- String
弄源代码管理项目的名称。
- pbstrSccAuxPath
- String
弄源控制仓库的辅助路径。
- pbstrSccLocalPath
- String
弄源控制仓库的本地路径。
- pbstrProvider
- String
弄源代码管理提供程序。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
C++
从 vsshell80:
HRESULT GetSccInfo(
[in] BSTR bstrProjectFileName,
[out] BSTR* pbstrSccProjectName,
[out] BSTR* pbstrSccAuxPath,
[out] BSTR* pbstrSccLocalPath,
[out] BSTR* pbstrProvider
);