Compartilhar via


IVsSccProjectProviderBinding.GetProviderSession(Object) Method

Definition

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

public:
 int GetProviderSession([Runtime::InteropServices::Out] System::Object ^ % punkSession);
int GetProviderSession([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & punkSession);
public int GetProviderSession (out object punkSession);
abstract member GetProviderSession : obj -> int
Public Function GetProviderSession (ByRef punkSession As Object) As Integer

Parameters

punkSession
Object

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

Returns

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.

Applies to