IVsSccProjectProviderBinding.GetProviderSession(Object) 方法

定义

返回版本 API (VAPI) 样式源代码管理包的会话对象。

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

参数

punkSession
Object

弄要用于 VAPI 样式源代码管理包的会话对象。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 ivssccprojectproviderbinding

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

Session 对象用于创建对 VAPI 样式源代码管理包的访问。

适用于