Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Obtém informações de controle de código de origem.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (em Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Sintaxe
int GetSccInfo(
string bstrProjectFileName,
out string pbstrSccProjectName,
out string pbstrSccAuxPath,
out string pbstrSccLocalPath,
out string pbstrProvider
)
int GetSccInfo(
String^ bstrProjectFileName,
[OutAttribute] String^% pbstrSccProjectName,
[OutAttribute] String^% pbstrSccAuxPath,
[OutAttribute] String^% pbstrSccLocalPath,
[OutAttribute] String^% pbstrProvider
)
abstract GetSccInfo :
bstrProjectFileName:string *
pbstrSccProjectName:string byref *
pbstrSccAuxPath:string byref *
pbstrSccLocalPath:string byref *
pbstrProvider:string byref -> int
Function GetSccInfo (
bstrProjectFileName As String,
<OutAttribute> ByRef pbstrSccProjectName As String,
<OutAttribute> ByRef pbstrSccAuxPath As String,
<OutAttribute> ByRef pbstrSccLocalPath As String,
<OutAttribute> ByRef pbstrProvider As String
) As Integer
Parâmetros
- bstrProjectFileName
[in] Nome do arquivo do projeto.
- pbstrSccProjectName
[out] Nome do projeto de controle de origem.
- pbstrSccAuxPath
[out] Caminho auxiliar para o depósito de controle de origem.
- pbstrSccLocalPath
[out] Caminho local para o depósito de controle de origem.
- pbstrProvider
[out] Provedor de controle de origem.
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
C++
De vsshell80.idl:
HRESULT GetSccInfo(
[in] BSTR bstrProjectFileName,
[out] BSTR* pbstrSccProjectName,
[out] BSTR* pbstrSccAuxPath,
[out] BSTR* pbstrSccLocalPath,
[out] BSTR* pbstrProvider
);
Consulte também
Interface IVsProjectUpgradeViaFactory
Namespace Microsoft.VisualStudio.Shell.Interop
Retornar ao topo