ODataMetadataController.GetServiceDocument Method
Generates the OData service document.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function GetServiceDocument As ODataWorkspace
'Usage
Dim instance As ODataMetadataController
Dim returnValue As ODataWorkspace
returnValue = instance.GetServiceDocument()
public ODataWorkspace GetServiceDocument()
public:
ODataWorkspace^ GetServiceDocument()
member GetServiceDocument : unit -> ODataWorkspace
public function GetServiceDocument() : ODataWorkspace
Return Value
Type: ODataWorkspace
The service document for the service.