Share via


WebReference2 Interface

Represents a Web reference that is consumed by the Web site.

Namespace:  VsWebSite90
Assembly:  VsWebSite.Interop90 (in VsWebSite.Interop90.dll)

Syntax

'Declaration
<GuidAttribute("9D6065EC-93A1-4CAA-8985-9B7783330BE7")> _
Public Interface WebReference2 _
    Inherits WebReference
[GuidAttribute("9D6065EC-93A1-4CAA-8985-9B7783330BE7")]
public interface WebReference2 : WebReference
[GuidAttribute(L"9D6065EC-93A1-4CAA-8985-9B7783330BE7")]
public interface class WebReference2 : WebReference
[<GuidAttribute("9D6065EC-93A1-4CAA-8985-9B7783330BE7")>]
type WebReference2 =  
    interface
        interface WebReference
    end
public interface WebReference2 extends WebReference

The WebReference2 type exposes the following members.

Properties

  Name Description
Public property ContainingProject Gets a reference to the project in the DTE object that contains this Web reference. (Inherited from WebReference.)
Public property ContainingProject
Public property Discomap Gets the discovery map for the Web reference. (Inherited from WebReference.)
Public property Discomap
Public property DTE Gets a reference to the DTE2 object that contains a Web site reference. (Inherited from WebReference.)
Public property DTE
Public property DynamicPropName Gets a property name from the Web site configuration. (Inherited from WebReference.)
Public property DynamicPropName
Public property DynamicUrl Gets or sets the URL used to access the Web service. (Inherited from WebReference.)
Public property DynamicUrl
Public property FileCodeModel Gets the FileCodeModel object for the .asmx file. (Inherited from WebReference.)
Public property FileCodeModel
Public property MapType Gets the type of this Web reference.
Public property Namespace Gets the client namespace for the WebReference object. (Inherited from WebReference.)
Public property Namespace
Public property ProjectItem Gets the ProjectItem. (Inherited from WebReference.)
Public property ProjectItem
Public property ServiceDefinitionUrl Gets the URL that was used to get the service definition. (Inherited from WebReference.)
Public property ServiceDefinitionUrl
Public property ServiceLocationUrl Gets the service ___location URL for the first service defined in the WSDL file. (Inherited from WebReference.)
Public property ServiceLocationUrl
Public property ServiceName Gets the service name of the first service in the WSDL file. (Inherited from WebReference.)
Public property ServiceName
Public property WsdlAppRelativeUrl Get the relative URL for the WSDL file. (Inherited from WebReference.)
Public property WsdlAppRelativeUrl

Top

Methods

  Name Description
Public method Remove() Removes this specific Web reference. (Inherited from WebReference.)
Public method Remove()
Public method Update() Updates this specific Web reference. (Inherited from WebReference.)
Public method Update()

Top

Remarks

This interface is applicable to a Web site project that has an App_WebReference folder that in turn contains two types of Web references: Discomap and Svcmap. For more information, see the MapType property topic.

The WebReference2 interface inherits all members of the WebReference interface and adds the MapType property.

See Also

Reference

VsWebSite90 Namespace

WebReference