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
Public property Discomap
Public property DTE
Public property DynamicPropName
Public property DynamicUrl
Public property FileCodeModel
Public property MapType Gets the type of this Web reference.
Public property Namespace
Public property ProjectItem
Public property ServiceDefinitionUrl
Public property ServiceLocationUrl
Public property ServiceName
Public property WsdlAppRelativeUrl

Top

Methods

  Name Description
Public method Remove
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