Refine sqlserver connector factory method