共用方式為


SPDataRetrievalProvider Class

Represents data-retrieval service settings for a Web application.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPDataRetrievalProvider

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

Syntax

'Declaration
<GuidAttribute("A37630D9-3D77-448f-BA5B-8F0117DA9656")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDataRetrievalProvider _
    Inherits SPAutoSerializingObject
'Usage
Dim instance As SPDataRetrievalProvider
[GuidAttribute("A37630D9-3D77-448f-BA5B-8F0117DA9656")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDataRetrievalProvider : SPAutoSerializingObject

Remarks

Use the DataRetrievalProvider property of the SPWebApplication class to return the data-retrieval provider of a Web application.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPDataRetrievalProvider Members

Microsoft.SharePoint.Administration Namespace