Correct Answer:
A. Pronoun
In "Such was not my intention," such functions as a pronoun. It refers back to a previously implied or stated idea, acting as a substitute for a noun phrase. It is not modifying a noun (which would make it an adjective) nor connecting clauses (which would make it a conjunction).