IDebugPortSupplierEx2::SetServer

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Sets the core server for the port supplier.

Syntax

HRESULT SetServer(  
   IDebugCoreServer2* pServer  
);  
int SetServer(  
   IDebugCoreServer2 pServer  
);  

Parameters

pServer
Core server to set for the port supplier.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

IDebugPortSupplierEx2