If in the light of all the circumstances, and when facilities are available, probation would be inappropriate, but it further appears that a sentence of total confinement would not be required in accordance with the criteria established in section 9725 (relating to total confinement), the court may impose a sentence involving partial confinement.
42 Pa.C.S. § 9724