WebReference Interface
Represents a Web reference that is consumed by the Web site.
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | ContainingProject | Gets a reference to the project in the DTE object that contains this Web reference. |
![]() | Discomap | Gets the discovery map for the Web reference. |
![]() | DTE | Gets a reference to the DTE2 object that contains a Web site reference. |
![]() | DynamicPropName | Gets a property name from the Web site configuration. |
![]() | DynamicUrl | Gets or sets the URL used to access the Web service. |
![]() | FileCodeModel | Gets the FileCodeModel object for the .asmx file. |
![]() | Namespace | Gets the client namespace for the WebReference object. |
![]() | ProjectItem | Gets the ProjectItem. |
![]() | ServiceDefinitionUrl | Gets the URL that was used to get the service definition. |
![]() | ServiceLocationUrl | Gets the service location URL for the first service defined in the WSDL file. |
![]() | ServiceName | Gets the service name of the first service in the WSDL file. |
![]() | WsdlAppRelativeUrl | Get the relative URL for the WSDL file. |
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.

