select 'scheme' = a.name,
'function' = b.name
from sys.indexes i
inner join sys.partition_schemes a on a.data_space_id = i.data_space_id
inner join sys.partition_functions b on a.function_id = b.function_id
where i.object_id = object_id('dbo.Table_Orders')