IDataServiceHost.ResponseLocation Property
Gets or sets the service location.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Property ResponseLocation As String
Get
Set
'Usage
Dim instance As IDataServiceHost
Dim value As String
value = instance.ResponseLocation
instance.ResponseLocation = value
string ResponseLocation { get; set; }
property String^ ResponseLocation {
String^ get ();
void set (String^ value);
}
abstract ResponseLocation : string with get, set
function get ResponseLocation () : String
function set ResponseLocation (value : String)
Property Value
Type: System.String
String that contains the service location.
Remarks
This property never returns null or string.Empty.
Examples
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