SPDataRetrievalProvider.Enabled Property

Gets or sets a Boolean value that specifies whether to enable data-retrieval services to process query requests.

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

Syntax

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

value = instance.Enabled

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

Property Value

Type: System.Boolean
true to enable data-retrieval services; otherwise, false. The default value is true.

Remarks

The Enabled property applies to the following data-retrieval services:

  • Windows SharePoint Services

  • OLEDB

  • SOAP Passthrough

  • XML-URL

See Also

Reference

SPDataRetrievalProvider Class

SPDataRetrievalProvider Members

Microsoft.SharePoint.Administration Namespace