Share via


SPDataRetrievalProvider.DataSourceControlEnabled property

Gets or sets a Boolean value that specifies whether to enable data source controls so that query requests can be processed.

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

Syntax

'Declaration
Public Property DataSourceControlEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPDataRetrievalProvider
Dim value As Boolean

value = instance.DataSourceControlEnabled

instance.DataSourceControlEnabled = value
public bool DataSourceControlEnabled { get; set; }

Property value

Type: System.Boolean
true to enable data source controls; otherwise, false. The default value is true.

Remarks

The DataSourceControlEnabled property applies to the following data source controls:

  • SPXmlDataSource

  • XmlUrlDataSource

  • SoapDataSource

  • AggregateDataSource

See also

Reference

SPDataRetrievalProvider class

SPDataRetrievalProvider members

Microsoft.SharePoint.Administration namespace