共用方式為


SPDataRetrievalServicesSettings.DataSourceControlEnabled Property

Obsolete. Use the DataSourceControlEnabled property of the Microsoft.SharePoint.Administration.SPDataRetrievalProvider class to specify whether to enable data source controls so that query requests can be processed. (In Windows SharePoint Services 2.0, the DataSourceControlEnabled property returned a Boolean value that indicated whether data source controls are enabled in the SharePoint Foundation deployment, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property DataSourceControlEnabled As Boolean
    Get
'Usage
Dim instance As SPDataRetrievalServicesSettings
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if data source controls are enabled; otherwise, false.

See Also

Reference

SPDataRetrievalServicesSettings Class

SPDataRetrievalServicesSettings Members

Microsoft.SharePoint Namespace