Cleaves of S-adenosylmethionine and may therefore prevent both modification and degradation of viral DNA by the host restriction-modification complex. H2O + S-adenosyl-L-methionine = H(+) + L-homoserine + S-methyl-5'-thioadenosine