mixed sqlsrv_fetch_object ( resource $stmt [, string $className [, array $ctorParams [, int $row [, int $offset ]]]] )
Retrieves the next row of data in a result set as an instance of the specified class with properties that match the row field names and values that correspond to the row field values.
Returns an object on success, NULL if there are no more rows to return, and FALSE if an error occurs or if the specified class does not exist.