ITsSbResourcePluginStore::DeleteTarget method (sbtsv.h)

Deletes a target.

Syntax

HRESULT DeleteTarget(
  [in] BSTR targetName,
  [in] BSTR hostName
);

Parameters

[in] targetName

The name of the target.

[in] hostName

The name of the computer that hosts the target.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx