This documentation is archived and is not being maintained.

DiscoveryDocumentReference.Ref Property

Gets or sets the reference to a discovery document.

[Visual Basic]
Public Property Ref As String
[C#]
public string Ref {get; set;}
[C++]
public: __property String* get_Ref();
public: __property void set_Ref(String*);
[JScript]
public function get Ref() : String;
public function set Ref(String);

Property Value

Reference to a discovery document.

Remarks

For most references, the Ref property is a URL, such as http://www.contoso.com/MyWebService.disco.

Example

[Visual Basic] 
' Display the discovery document reference.
Console.WriteLine(myDiscoveryDocumentReference.Ref.ToString())

[C#] 
// Display the discovery document reference.
Console.WriteLine(myDiscoveryDocumentReference.Ref.ToString());

[C++] 
// Display the discovery document reference.
Console::WriteLine(myDiscoveryDocumentReference->Ref);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DiscoveryDocumentReference Class | DiscoveryDocumentReference Members | System.Web.Services.Discovery Namespace

Show: