Freigeben über


IDataServiceHost.ResponseLocation-Eigenschaft

Ruft den Dienstspeicherort ab oder legt ihn fest.

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)

Eigenschaftswert

Typ: System.String
Zeichenfolge, die den Dienstspeicherort enthält.

Hinweise

Diese Eigenschaft gibt nie Null oder string.Empty zurück.

Beispiele

Der folgende URI enthält dem Speicherort des Diensts in der Teilzeichenfolge http://myhost/myservice.svc.

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

Siehe auch

Verweis

IDataServiceHost Schnittstelle

System.Data.Services-Namespace