IDataServiceHost.ResponseLocation 屬性
取得或設定服務位置。
命名空間: System.Data.Services
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Property ResponseLocation As String
Get
Set
'用途
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)
屬性值
型別:System.String
包含服務位置的字串。
備註
此屬性永不傳回 null 或 string.Empty。
範例
下列 URI 的子字串中包含服務位置:http://myhost/myservice.svc。
http://myhost/myservice.svc/Customers, the response location would be http://myhost/myservice.svc