Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Path Property

Gets or sets the path of the referenced Web service.

Syntax

CSharp

[DefaultValueAttribute("")]
[CategoryAttribute("Behavior")]
public string Path { get; set; }

VisualBasic

<DefaultValueAttribute("")> _
<CategoryAttribute("Behavior")> _
Public Property Path As String

ManagedCPlusPlus

[DefaultValueAttribute(L"")]
[CategoryAttribute(L"Behavior")]
public:
String^ Path {
	String^ get ();
	void set (String^ value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

The path of the referenced Web service.

Remarks

The Path property can only point to local Web services. In other words, this property can only point to Web services in the same domain of your Microsoft ASP.NET AJAX application. Path can be a relative, application-relative, domain-relative, or absolute path.

If the InlineScript property is set to true, then you must use a relative path that points to the same Web application as the page that contains the ServiceReference instance.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)