Continues the scan from the specified data set and returns information about the next data set.
#include <smstsapi.h> CCODE NWSMTSScanDataSetContinue ( UINT32 connection, NWSM_DATA_SET_NAME_LIST *resourceName, NWSM_SCAN_CONTROL *scanControl, NWSM_SELECTION_LIST *selectionList, NWSM_DATA_SET_NAME_LIST *cursorDataSetName, UINT32 *sequence, NWSM_SCAN_INFORMATION **scanInformation, NWSM_DATA_SET_NAME_LIST **dataSetNames);
(IN) Specifies the connection information returned by NWSMTSConnectToTargetService or NWSMTSConnectToTargetServiceEx.
(IN) Points to the starting point or path of the resource to scan.
(IN) Points to the attributes and characteristics of all data sets to scan or ignore (see Scan Control Options).
(IN) Points to the data sets to scan or ignore and contains the name as it appears under every name space supported by resourceName.
(IN) Points to the point or the full path of last successfully backed up data set name, to continue the scan.
(OUT) Points to the scanning sequence value (does not need to be initialized as it is set by the TSA).
(OUT) Optional. Points to the general attributes and information of the first data set that meets the scanning criteria.
(OUT) Optional. Points to the name of the first data set that met the scanning criteria.
See Section 9.3, Target Service Return Values for more information.
The following table lists the return values associated with the function.
This section lists the return values returned by the following TSA and SMDR APIs, during cluster failover/failback.
This API is cluster specific and is not to be used for normal backup failures
This API doesn’t support restore recovery during cluster failover/failback.
If scanning is in progress, call NWSMTSScanDataSetEnd before reconnection.
After cluster failover/failback, release the current connections of engine to TSA or SMDR by calling NWSMTSReleaseTargetService or NWSMReleaseTSA respectively.
Re-establish the connection using NWSMConnectToTSA and NWSMTSConnectToTargetService or NWSMTSConnectToTargetServiceEx.
The cursor should contain the last successfully backed-up data set information. If there are no such data sets during failover/failback, use NWSMTSScanDataSetBegin.
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.
NWSMConnectToTSA, NWSMReleaseTSA, NWSMTSConnectToTargetService, NWSMTSConnectToTargetServiceEx, NWSMTSScanDataSetBegin
See the example for NWSMTSScanDataSetBegin.