WebReference Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Web reference that is consumed by the Web site.
public interface class WebReference
[System.Runtime.InteropServices.Guid("DCB348C9-62ED-4332-B90F-077AAC7BAB14")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface WebReference
[<System.Runtime.InteropServices.Guid("DCB348C9-62ED-4332-B90F-077AAC7BAB14")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type WebReference = interface
Public Interface WebReference
- Derived
- Attributes
Properties
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. |
Methods
Remove() |
Removes this specific Web reference. |
Update() |
Updates this specific Web reference. |