Método IVsSccAddWebProjectFromSourceControl.AddWebProjectFromSourceControl (String, String, String, String, String)

 

Adiciona o projeto especificado baseado na Web à solução atual, armazenando-os no local especificado.

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

Sintaxe

int AddWebProjectFromSourceControl(
    string bstrLocalPath,
    string bstrDatabasePath,
    string bstrAuxiliarPath,
    string bstrProviderName,
    string bstrDebuggingPath
)
int AddWebProjectFromSourceControl(
    String^ bstrLocalPath,
    String^ bstrDatabasePath,
    String^ bstrAuxiliarPath,
    String^ bstrProviderName,
    String^ bstrDebuggingPath
)
abstract AddWebProjectFromSourceControl : 
        bstrLocalPath:string *
        bstrDatabasePath:string *
        bstrAuxiliarPath:string *
        bstrProviderName:string *
        bstrDebuggingPath:string -> int
Function AddWebProjectFromSourceControl (
    bstrLocalPath As String,
    bstrDatabasePath As String,
    bstrAuxiliarPath As String,
    bstrProviderName As String,
    bstrDebuggingPath As String
) As Integer

Parâmetros

  • bstrLocalPath
    [in] O caminho local onde será armazenado no projeto baseado na Web.
  • bstrDatabasePath
    [in] O local do projeto no controle de origem.
  • bstrAuxiliarPath
    [in] Um caminho adicional que pode ser usado para localizar o projeto no controle de origem.
  • bstrProviderName
    [in] Uma seqüência que identifica o provedor de controle de código de origem.
  • bstrDebuggingPath
    [in] Um caminho para ser usado quando o projeto é aberto com a solução e se o projeto será aberto como um projeto da Web "localhost".

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De ivssccaddwebprojectfromsourcecontrol.idl

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

A maioria dessas informações é fornecida por uma chamada para o BrowseForServerLocation método.

Consulte também

Interface IVsSccAddWebProjectFromSourceControl
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo