The ability of a material to withstand deterioration of its surface or its properties when exposed to its environment.