Compartilhar 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)
Available in Sandboxed Solutions: No

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