Share via


IDspAdapter.LocalClient Property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that specifies whether the client is a server component that loads the adapter through the object model interface of the adapter.

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

Syntax

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

value = instance.LocalClient

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

Property Value

Type: System.Boolean
true if the client is a server component that loads the adapter through the object model interface. The default value is false, indicating that the request arrives through SOAP.

Remarks

Setting the value of the LocalClient property to true enforces that all object model input is validated before the query is processed. For a server component that directly loads the adapter DLLs, set this property to true.

See Also

Reference

IDspAdapter Interface

IDspAdapter Members

Microsoft.SharePoint.Dsp Namespace