Condividi tramite


DSQuery.ResultRoot Property

NOTE: This API is now obsolete.

Gets or sets the root name for the XML payload.

Namespace:  Microsoft.SharePoint.Dsp
Assembly:  Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property ResultRoot As String
    Get
    Set
'Usage
Dim instance As DSQuery
Dim value As String

value = instance.ResultRoot

instance.ResultRoot = value
[ObsoleteAttribute("Use the Lists web service instead.")]
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

Microsoft.SharePoint.Dsp Namespace