WebReference.DynamicUrl Property
Gets or sets the URL used to access the Web service.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
string DynamicUrl { get; set; }
property String^ DynamicUrl {
String^ get();
void set(String^ value);
}
abstract DynamicUrl : string with get, set
Property DynamicUrl As String
Property Value
Type: System.String
The URL used to access the Web service.
Remarks
The DynamicUrl property is a dynamically created value. For Web references that do not use a dynamic property, this property returns the ServiceLocationUrl property value. Writing to this property will configure the URL in the <appSettings> section of the Web.config file for the root of the Web site. If the <appSettings> value for the reference does not exist, it will be created. By default, when a Web reference is made, the URL to access the Web service is stored in a dynamic property in the Web.config file.
See Also
WebReference Interface
VsWebSite Namespace
Return to top