Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Function GetProviderSession ( _
<OutAttribute> ByRef punkSession As Object _
) As Integer
int GetProviderSession(
out Object punkSession
)
int GetProviderSession(
[OutAttribute] Object^% punkSession
)
abstract GetProviderSession :
punkSession:Object byref -> int
function GetProviderSession(
punkSession : Object
) : int
Parameters
punkSession
Type: Object%[out] A session object to be used with a VAPI-style source control package.
Return Value
Type: 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.
.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.