WebReference Interface

 

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

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

Syntax

[GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")]
public interface WebReference
[GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")]
public interface class WebReference
[<GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")>]
type WebReference = interface end
<GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")>
Public Interface WebReference

Properties

Name Description
System_CAPS_pubproperty ContainingProject

Gets a reference to the project in the DTE object that contains this Web reference.

System_CAPS_pubproperty Discomap

Gets the discovery map for the Web reference.

System_CAPS_pubproperty DTE

Gets a reference to the DTE2 object that contains a Web site reference.

System_CAPS_pubproperty DynamicPropName

Gets a property name from the Web site configuration.

System_CAPS_pubproperty DynamicUrl

Gets or sets the URL used to access the Web service.

System_CAPS_pubproperty FileCodeModel

Gets the FileCodeModel object for the .asmx file.

System_CAPS_pubproperty Namespace

Gets the client namespace for the WebReference object.

System_CAPS_pubproperty ProjectItem

Gets the ProjectItem.

System_CAPS_pubproperty ServiceDefinitionUrl

Gets the URL that was used to get the service definition.

System_CAPS_pubproperty ServiceLocationUrl

Gets the service location URL for the first service defined in the WSDL file.

System_CAPS_pubproperty ServiceName

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

System_CAPS_pubproperty WsdlAppRelativeUrl

Get the relative URL for the WSDL file.

Methods

Name Description
System_CAPS_pubmethod Remove()

Removes this specific Web reference.

System_CAPS_pubmethod Update()

Updates this specific Web reference.

Remarks

Each Web reference corresponds to a single Web service description language (WSDL) file, even though multiple services or ports might be included in that WSDL.

See Also

VSWebSite
VsWebSite Namespace

Return to top