Closes the connection between an engine and a Target Service.
#include <smstsapi.h> CCODE NWSMTSReleaseTargetService ( UINT32 *connection);
(IN) Points to the connection information returned by NWSMTSConnectToTargetService or NWSMTSConnectToTargetServicEx.
See Section 9.3, Target Service Return Values for more information.
The following table lists the return values associated with the function.
Before NWSMTSReleaseTargetService is called, the engine must be connected to the TSA.
NWSMTSReleaseTargetService cleans up the internal environment, releases a connection between the engine and the Target Service, and deletes the error log and skipped log files created by the TSA.