DataRoot.AllowRemoteDataAccess Property

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

Public Property AllowRemoteDataAccess As Boolean
    Get
    Set

Dim instance As DataRoot
Dim value As Boolean

value = instance.AllowRemoteDataAccess

instance.AllowRemoteDataAccess = value
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.

See Also

Reference

DataRoot Class

DataRoot Members

Microsoft.SharePoint.Dsp Namespace