IDiscoveryResult.GetDiscoverySession(IDiscoverySession) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a pointer to IDiscoverySession.
public:
int GetDiscoverySession([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoverySession ^ % discoverySession);
public:
int GetDiscoverySession([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoverySession ^ & discoverySession);
int GetDiscoverySession([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoverySession const & & discoverySession);
public int GetDiscoverySession (out Microsoft.VisualStudio.Shell.Interop.IDiscoverySession discoverySession);
abstract member GetDiscoverySession : IDiscoverySession -> int
Public Function GetDiscoverySession (ByRef discoverySession As IDiscoverySession) As Integer
Parameters
- discoverySession
- IDiscoverySession
[out] Pointer to IDiscoverySession.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IDiscoveryResult::GetDiscoverySession(
[out, retval] IDiscoverySession **discoverySession
);