IVsSccAddWebProjectFromSourceControl.AddWebProjectFromSourceControl Yöntem

Tanım

Belirtilen Web tabanlı projeyi, belirtilen konumda depolayarak geçerli çözüme ekler.

public:
 int AddWebProjectFromSourceControl(System::String ^ bstrLocalPath, System::String ^ bstrDatabasePath, System::String ^ bstrAuxiliarPath, System::String ^ bstrProviderName, System::String ^ bstrDebuggingPath);
public:
 int AddWebProjectFromSourceControl(Platform::String ^ bstrLocalPath, Platform::String ^ bstrDatabasePath, Platform::String ^ bstrAuxiliarPath, Platform::String ^ bstrProviderName, Platform::String ^ bstrDebuggingPath);
int AddWebProjectFromSourceControl(std::wstring const & bstrLocalPath, std::wstring const & bstrDatabasePath, std::wstring const & bstrAuxiliarPath, std::wstring const & bstrProviderName, std::wstring const & bstrDebuggingPath);
public int AddWebProjectFromSourceControl (string bstrLocalPath, string bstrDatabasePath, string bstrAuxiliarPath, string bstrProviderName, string bstrDebuggingPath);
abstract member AddWebProjectFromSourceControl : string * string * string * string * string -> int
Public Function AddWebProjectFromSourceControl (bstrLocalPath As String, bstrDatabasePath As String, bstrAuxiliarPath As String, bstrProviderName As String, bstrDebuggingPath As String) As Integer

Parametreler

bstrLocalPath
String

'ndaki Web tabanlı projenin depolanacağı yerel yol.

bstrDatabasePath
String

'ndaki Kaynak denetimindeki projenin konumu.

bstrAuxiliarPath
String

'ndaki Kaynak denetiminde projeyi bulmak için kullanılabilecek ek bir yol.

bstrProviderName
String

'ndaki Kaynak kodu denetim sağlayıcısını tanımlayan bir dize.

bstrDebuggingPath
String

'ndaki Proje Çözümle açıldığında ve proje bir "localhost" Web projesi olarak açılacaksa kullanılacak yol.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Ivssccaddwebprojectfromsourcecontrol. IDL dosyasından

HRESULT AddWebProjectFromSourceControl(  
   [in] BSTR bstrLocalPath,  
   [in] BSTR bstrDatabasePath,  
   [in] BSTR bstrAuxiliarPath,  
   [in] BSTR bstrProviderName,  
   [in] BSTR bstrDebuggingPath  
);  

Bu bilgilerin çoğu, yöntemi çağrısıyla sağlanır BrowseForServerLocation .

Şunlara uygulanır