Share via


IDebugDefaultPort2::QueryIsLocal

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

This method determines whether this port is on the local machine.

Syntax

HRESULT QueryIsLocal(
   void
);
int QueryIsLocal();

Return Value

Returns S_OK if this port is local (on the same machine as the caller) or S_FALSE if the port is on another machine.

See also