All of them. The API is not dependent on your version of ArcGIS Server.
Although you will have to be aware that some of the properties and/or methods of the different classes may not work with ArcGIS Server 10.0. For example, the FeatureLayer's maxRecordCount property requires 10.1
Retrieving data ...