Gets source code control information.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
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
int GetSccInfo(
    string bstrProjectFileName,
    out string pbstrSccProjectName,
    out string pbstrSccAuxPath,
    out string pbstrSccLocalPath,
    out string pbstrProvider
)
int GetSccInfo(
    [InAttribute] 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 : String, 
    pbstrSccProjectName : String, 
    pbstrSccAuxPath : String, 
    pbstrSccLocalPath : String, 
    pbstrProvider : String
) : int
Parameters
- bstrProjectFileName 
 Type: String- [in] Name of the project file. 
- pbstrSccProjectName 
 Type: String%- [out] Name of the source control project. 
- pbstrSccAuxPath 
 Type: String%- [out] Auxiliary path to the source control depot. 
- pbstrSccLocalPath 
 Type: String%- [out] Local path to the source control depot. 
- pbstrProvider 
 Type: String%- [out] Source control provider. 
Return Value
Type: Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.