共用方式為


DSQuery.resultRoot Property

Gets or sets the root name for the XML payload.

Namespace:  [DspSts Web service]
Web service reference: http://Site/_vti_bin/DspSts.asmx

Syntax

'Declaration
Public Property resultRoot As String
    Get
    Set
'Usage
Dim instance As DSQuery
Dim value As String

value = instance.resultRoot

instance.resultRoot = value
public string resultRoot { get; set; }

Property Value

Type: System.String
A string that contains the root name.

Remarks

The resultRoot property allows the client to specify a custom root name for the XML payload. The default root name is defined by each adapter and is usually the name of the table being queried. Setting this attribute to a non-empty string overwrites the default root name.

See Also

Reference

DSQuery Class

DSQuery Members

DspSts Web Service