Share via


DspAdapter.Versions Property

NOTE: This API is now obsolete.

Gets or sets the version of the data retrieval service targeted by a particular client request.

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 Versions As Versions
    Get
    Set
'Usage
Dim instance As DspAdapter
Dim value As Versions

value = instance.Versions

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

Property Value

Type: Microsoft.SharePoint.Dsp.Versions
A Versions object that specifies the version of the data retrieval service. When query execution finishes, this property will contain the actual version(s) supported by a particular adapter.

Remarks

The Versions property corresponds to the <dsp:versions> soap header.

See Also

Reference

DspAdapter Class

DspAdapter Members

Versions Overload

Microsoft.SharePoint.Dsp Namespace