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
string ServiceName { get; }
property String^ ServiceName {
String^ get ();
}
abstract ServiceName : string with 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.