Partilhar via


IDspAdapter.DataRoot Property

NOTE: This API is now obsolete.

Gets or sets the root of a particular data source.

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

Syntax

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

value = instance.DataRoot

instance.DataRoot = value
[ObsoleteAttribute("Use the Lists web service instead.")]
DataRoot DataRoot { get; set; }

Property Value

Type: Microsoft.SharePoint.Dsp.DataRoot
A DataRoot object that represents the root of the data source. The root format can be one of the following three forms: a server name, a UNC share, or a URL. When query execution finishes, the adapter resets this property to a null reference (Nothing in Visual Basic).

Remarks

The DataRoot property corresponds to the <dsp:dataRoot> SOAP header.

See Also

Reference

IDspAdapter Interface

IDspAdapter Members

Microsoft.SharePoint.Dsp Namespace