次の方法で共有


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)

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