SPDataRetrievalProvider.Enabled 属性

获取或设置一个布尔值,指定是否启用数据检索服务,以处理查询请求。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property Enabled As Boolean
    Get
    Set
用法
Dim instance As SPDataRetrievalProvider
Dim value As Boolean

value = instance.Enabled

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

属性值

类型:System.Boolean
true以启用数据检索服务 ;否则为false。默认值是true。

备注

Enabled属性适用于以下数据检索服务:

  • Windows SharePoint Services

  • OLEDB

  • SOAP Passthrough

  • XML-URL

另请参阅

引用

SPDataRetrievalProvider 类

SPDataRetrievalProvider 成员

Microsoft.SharePoint.Administration 命名空间