IDataServiceHost.AbsoluteServiceUri Property

Gets an absolute URI that is the root URI of the data service.

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

Syntax

'Declaration
ReadOnly Property AbsoluteServiceUri As Uri 
    Get
'Usage
Dim instance As IDataServiceHost 
Dim value As Uri 

value = instance.AbsoluteServiceUri
Uri AbsoluteServiceUri { get; }
property Uri^ AbsoluteServiceUri {
    Uri^ get ();
}
abstract AbsoluteServiceUri : Uri
function get AbsoluteServiceUri () : Uri

Property Value

Type: System.Uri
A string that is the absolute root URI of the data service.

Remarks

The AbsoluteServiceUri property always returns the absolute root URI of the service request. This enables consistent access to the root data service URI, even in cases where the host revises the URI.

See Also

Reference

IDataServiceHost Interface

System.Data.Services Namespace