If you are in a category that needs to show proof of funds, then those funds have to be in a form that is available for you to use to support yourself when you first come to Canada, until you are able to find a job. There are lots of settlement costs, from getting an apartment to buying food to transportation to good winter clothing for you and your family. You will not be able to use ownership of an apartment for those things. CIC doesn't want you to have a loan, either, because you will have to pay it back, meaning that you will have a double burden when you finally get a job - supporting yourself AND paying back money you borrowed.
If the only way for you to get that money is in fact a loan, then yes, your application will be refused if CIC is aware that the money you have is from a loan.