WebReference Interface

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

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

[GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")]
public interface WebReference

The WebReference type exposes the following members.

  NameDescription
Public propertyContainingProjectGets a reference to the project in the DTE object that contains this Web reference.
Public propertyDiscomapGets the discovery map for the Web reference.
Public propertyDTEGets a reference to the DTE2 object that contains a Web site reference.
Public propertyDynamicPropNameGets a property name from the Web site configuration.
Public propertyDynamicUrlGets or sets the URL used to access the Web service.
Public propertyFileCodeModelGets the FileCodeModel object for the .asmx file.
Public propertyNamespaceGets the client namespace for the WebReference object.
Public propertyProjectItemGets the ProjectItem.
Public propertyServiceDefinitionUrlGets the URL that was used to get the service definition.
Public propertyServiceLocationUrlGets the service location URL for the first service defined in the WSDL file.
Public propertyServiceNameGets the service name of the first service in the WSDL file.
Public propertyWsdlAppRelativeUrlGet the relative URL for the WSDL file.
Top

  NameDescription
Public methodRemoveRemoves this specific Web reference.
Public methodUpdateUpdates this specific Web reference.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft