Connection Functions

The connection functions enable an application to connect to a site database and disconnect from a site database. The handle that is returned from SmsDataSourceConnect is used when accessing a container, accessing a filter container, or creating a filter.

Although SMS currently supports only Microsoft SQL Server as a datasource (that is, an SMS site database), the functions are designed to be independent of the type of the datasource so that other types of datasources can be supported in the future.

An application can connect to one database at a time.

SmsDataSourceConnect

SmsDataSourceDisconnect