Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext.GetMetadataUri Method

Gets a URI of the location of .edmx metadata.

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

public Uri GetMetadataUri()

Return Value

Type: System.Uri
A URI that identifies the location of the metadata description, in .edmx format, for the data service identified by the base URI that is passed to the constructor.

Returns the URI passed to the constructor with a single path segment (/$metadata) appended. Calling this method may generate a network operation to dynamically discover the metadata URI.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft