共用方式為


SPWebApplication.InheritDataRetrievalSettings Property

Gets or sets a value indicating whether the Web application inherits data retrieval services settings from the central administration application.

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

Syntax

'Declaration
Public Property InheritDataRetrievalSettings As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.InheritDataRetrievalSettings

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

Property Value

Type: System.Boolean
true if data retrieval services settings are inherited from the central administration application; otherwise, false. The default value is true.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace