To enforce uniqueness the partition keys must be a subset of the index keys, and must be in the same sequence.
Check the documentation for more detailed information: Adaptive Server Enterprise 15.5 > Transact-SQL Users Guide > Partitioning Tables and Indexes > Indexes and partitions