IDataServiceHost.ResponseLocation Property

Gets or sets the service location.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

string ResponseLocation { get; set; }

Property Value

Type: System.String
String that contains the service location.

This property never returns null or string.Empty.

The following URI contains the location of the service in the substring http://myhost/myservice.svc.

http://myhost/myservice.svc/Customers, the response location would be http://myhost/myservice.svc