DataServiceContext.GetMetadataUri Method

Definition

Gets a URI of the location of .edmx metadata.

public:
 Uri ^ GetMetadataUri();
public Uri GetMetadataUri ();
member this.GetMetadataUri : unit -> Uri
Public Function GetMetadataUri () As Uri

Returns

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.

Remarks

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.

Applies to