Delen via


WebReference.ServiceName Property

Gets the service name of the first service in the WSDL file.

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

Syntax

'Declaration
ReadOnly Property ServiceName As String
'Usage
Dim instance As WebReference 
Dim value As String 

value = instance.ServiceName
string ServiceName { get; }
property String^ ServiceName {
    String^ get ();
}
function get ServiceName () : String

Property Value

Type: System.String
A string containing the service name.

Remarks

A WSDL file can expose multiple services. In that case, you must parse the WDSL file. The ServiceName property is used internally to match project to project Web references.

.NET Framework Security

See Also

Reference

WebReference Interface

WebReference Members

VsWebSite Namespace