IVsDiscoveryService::CreateDiscoverySession Method (IDiscoverySession^)

 

Returns a pointer to a Discovery Session.

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

int CreateDiscoverySession(
	[OutAttribute] IDiscoverySession^% pSessionObject
)

Parameters

pSessionObject
Type: Microsoft.VisualStudio.Shell.Interop::IDiscoverySession^

[out] Pointer to a Discovery Session object.

Return Value

Type: System::Int32

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

From discoveryservice.idl:

HRESULT IVsDiscoveryService::CreateDiscoverySession(
   [out, retval] IDiscoverySession **pSessionObject
);
Return to top
Show: