Compartilhar via


DspAdapter.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.SoapPT (in Microsoft.SharePoint.Dsp.SoapPT.dll)

Syntax

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

value = instance.DataRoot

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

Property Value

Type: Microsoft.SharePoint.Dsp.DataRoot
A Microsoft.SharePoint.Dsp.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

DspAdapter Class

DspAdapter Members

DataRoot Overload

Microsoft.SharePoint.Dsp Namespace