public static GeocodeResult Geocode(string serviceUri, string address)
{
GeocodeServerProxy proxy = new GeocodeServerProxy(serviceUri);
PropertySet geocodePropSet = new PropertySet();
PropertySetProperty geocodeProp = new PropertySetProperty();
geocodeProp.Key = "KeyField";
geocodeProp.Value = address;
geocodePropSet.PropertyArray = new PropertySetProperty[] { geocodeProp };
PropertySet results = proxy.GeocodeAddress(geocodePropSet, null);
return new GeocodeResult(results);
}