DiscoveryDocumentSearchPattern.GetDiscoveryReference(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the DiscoveryDocumentReference object for a given discovery document.
public:
override System::Web::Services::Discovery::DiscoveryReference ^ GetDiscoveryReference(System::String ^ filename);
public override System.Web.Services.Discovery.DiscoveryReference GetDiscoveryReference (string filename);
override this.GetDiscoveryReference : string -> System.Web.Services.Discovery.DiscoveryReference
Public Overrides Function GetDiscoveryReference (filename As String) As DiscoveryReference
Parameters
- filename
- String
The file system path of the discovery document.
Returns
A DiscoveryDocumentReference object that specifies the location of a .vsdisco file.
Remarks
The concrete DiscoveryDocumentReference class inherits from the abstract DiscoveryReference class.
A DiscoveryDocumentReference instance contains the location of the .vsdisco file, which is also the file system directory corresponding to the HTTP request passed to the ProcessRequest method.