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

string ServiceName { get; }
property String^ ServiceName {
    String^ get();
}
abstract ServiceName : string with get
ReadOnly Property ServiceName As 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.

See Also

WebReference Interface
VsWebSite Namespace

Return to top