IDataServiceHost.ResponseLocation Property

Definition

Gets or sets the service location.

public:
 property System::String ^ ResponseLocation { System::String ^ get(); void set(System::String ^ value); };
public string ResponseLocation { get; set; }
member this.ResponseLocation : string with get, set
Public Property ResponseLocation As String

Property Value

String that contains the service location.

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  

Remarks

This property never returns null or string.Empty.

Applies to