DSQuery.ResultRoot Property

Gets or sets the root name for the XML payload.

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


Public Property ResultRoot As String

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.


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


DSQuery Class

DSQuery Members

Microsoft.SharePoint.Dsp Namespace