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 | |
---|---|---|
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
Name | Description | |
---|---|---|
Remove() | Removes this specific Web reference. |
|
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
Return to top