TsmDataSet* tsmGetDataSet ( TsmDatabase *database, char const *name )

Searches a database for a particular dataset

Documentation

Searches a database for a particular dataset.

This function will search through all of the datasets in a database and return a pointer to a dataset that has the specified name (case sensitive). If such a dataset does not exists in the database, or an error occurred, then NULL is returned.

Returns:
The TsmDataSet structure that was found, or NULL if not found
Parameters:
database - the database to use for the dataset lookup
name - the name field of the dataset to be matched against
Author:
Martin Reddy
Version:
19 March 1998
See Also:
tsmReadDatabase, TsmDataSet


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page