This documentation is archived and is not being maintained.

DiscoveryDocumentReference.Url Property

Gets or sets the URL of the referenced discovery document.

[Visual Basic]
Overrides Public Property Url As String
[C#]
public override string Url {get; set;}
[C++]
public: __property String* get_Url();
public: __property void set_Url(String*);
[JScript]
public override function get Url() : String;
public override function set Url(String);

Property Value

The URL of the referenced discovery document.

Remarks

Returns the value of the Ref property.

Example

[Visual Basic] 
' Display the URL of the referenced discovery document.
Console.WriteLine(myDiscoveryDocumentReference.Url.ToString())

[C#] 
// Display the URL of the referenced discovery document.
Console.WriteLine(myDiscoveryDocumentReference.Url.ToString());

[C++] 
// Display the URL of the referenced discovery document.
Console::WriteLine(myDiscoveryDocumentReference->Url);

[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: