次の方法で共有


IDebugProgramPublisher2::UnpublishProgramNode

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

Removes a specified program node from availability to debug engines (DEs) and the session debug manager (SDM).

Syntax

HRESULT UnpublishProgramNode(
   IDebugProgramNode2* pProgramNode
);
int UnpublishProgramNode(
   IDebugProgramNode2 pProgramNode
);

Parameters

pProgramNode
[in] An IDebugProgramNode2 object representing the program node being removed.

Return Value

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

Remarks

Once removed, the program node is no longer available to be queried for program information.

To make a program node available, call the PublishProgramNode method.

See also