Share via


WebReference.ServiceLocationUrl Property

Gets the service location URL for the first service defined in the WSDL file.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
ReadOnly Property ServiceLocationUrl As String
    Get
string ServiceLocationUrl { get; }
property String^ ServiceLocationUrl {
    String^ get ();
}
abstract ServiceLocationUrl : string
function get ServiceLocationUrl () : String

Property Value

Type: System.String
A service location URL.

Remarks

The WSDL is first checked for the Soap12 protocol address. If no Soap12 protocol address is found, the WSDL is checked for a standard SOAP address.

.NET Framework Security

See Also

Reference

WebReference Interface

VsWebSite Namespace