IVsSccProjectProviderBinding.GetProviderSession Method

Returns a session object for a Version API (VAPI)-style source control package.

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

Syntax

'宣言
Function GetProviderSession ( _
    <OutAttribute> ByRef punkSession As Object _
) As Integer
'使用
Dim instance As IVsSccProjectProviderBinding
Dim punkSession As Object
Dim returnValue As Integer

returnValue = instance.GetProviderSession(punkSession)
int GetProviderSession(
    out Object punkSession
)
int GetProviderSession(
    [OutAttribute] Object^% punkSession
)
function GetProviderSession(
    punkSession : Object
) : int

Parameters

  • punkSession
    Type: System.Object%

    [out] A session object to be used with a VAPI-style source control package.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From ivssccprojectproviderbinding.idl

HRESULT GetProviderSession(
   [out, retval] IUnknown **punkSession
);

The session object is used to create access to a VAPI-style source control package.

Permissions

See Also

Reference

IVsSccProjectProviderBinding Interface

IVsSccProjectProviderBinding Members

Microsoft.VisualStudio.Shell.Interop Namespace