The SmsDataSourceDisconnect function releases the site database connection that was established by SmsDataSourceConnect.
SMS_STATUS SmsDataSourceDisconnect(
HANDLE hConn // Handle to database connection.
);
The SmsDataSourceDisconnect function returns a status code SMS_STATUS. If successful, the function returns a status of SMS_OK. Otherwise, it returns the following manifest constant: