DataServiceContext.BaseUri Property
Gets the absolute URI identifying the root of the target data service.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Property BaseUri As Uri
Get
Set
'Usage
Dim instance As DataServiceContext
Dim value As Uri
value = instance.BaseUri
instance.BaseUri = value
public Uri BaseUri { get; set; }
public:
property Uri^ BaseUri {
Uri^ get ();
void set (Uri^ value);
}
member BaseUri : Uri with get, set
function get BaseUri () : Uri
function set BaseUri (value : Uri)
Property Value
Type: System.Uri
An absolute URI that identifies the root of a T data service.
Remarks
A URI provided with a trailing slash is equivalent to one without the trailing character.