Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a Web reference that is consumed by the Web site.
Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
'Declaration
<GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")> _
Public Interface WebReference
[GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")]
public interface WebReference
[GuidAttribute(L"DCB348C9-62ED-4332-B90F-077AAC7BAB14")]
public interface class WebReference
[<GuidAttribute("DCB348C9-62ED-4332-B90F-077AAC7BAB14")>]
type WebReference =  interface end
public interface WebReference
The WebReference type exposes the following members.
Properties
| 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. | 
Top
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Remove | Removes this specific Web reference. | 
![]()  | 
Update | Updates this specific Web reference. | 
Top
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.
.gif)
.gif)