DataRoot.AllowRemoteDataAccess Property
NOTE: This API is now obsolete.
Gets or sets a Boolean value that specifies whether the adapter accesses data that resides on a different server.
Namespace: Microsoft.SharePoint.Dsp
Assembly: Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property AllowRemoteDataAccess As Boolean
Get
Set
'Usage
Dim instance As DataRoot
Dim value As Boolean
value = instance.AllowRemoteDataAccess
instance.AllowRemoteDataAccess = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public bool AllowRemoteDataAccess { get; set; }
Property Value
Type: System.Boolean
true if the adapter is allowed to attempt access to remote data using the credentials supplied by the client; otherwise, false. The default value is true.
Remarks
If the AllowRemoteDataAccess property contains false and the client attempts to request data from a different server, a Client.Dsp.Security.CrossDomainDataAccess error is thrown.