Returns the API version of the target service.
#include <smstsapi.h> CCODE NWSMTSGetTargetServiceAPIVersion ( UINT32 connection, UINT32 *majorVersion, UINT32 *minorVersion);
(IN) Specifies the connection information returned by NWSMTSConnectToTargetService or NWSMTSConnectToTargetServiceEx.
(OUT) Specifies the major version of the TSA.
(OUT) Specifies the minor version of the TSA.
See Section 9.3, Target Service Return Values for more information.
The following table lists the return values associated with the function.
This API provides an internally negotiated minimum supported version for the connection. The version returned is specific to the connection and is based on the API version supported by SMDR at the backup server and the SMDR and TSA at the target server.
Before this API is called, the engine must be connected to the TSA.
The API is supported by the following versions:
NetWare 6.5 Support Pack 1 and later
NetWare 6.0 Support Pack 4
NetWare 5.1 Support Pack 7 and later
NOTE:This symbol is not present in the SMS import file, as all versions of SMS do not export this symbol. To use this function, programmatically import the symbol and invoke it.