Share via


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)

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