Share via


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

Syntax

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

value = instance.LocalClient

instance.LocalClient = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public 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

DspAdapter Class

DspAdapter Members

LocalClient Overload

Microsoft.SharePoint.Dsp Namespace