Partilhar via


SearchResultsBaseDatasource.ParentWebpart Property

Gets or sets the parent SearchResultsBaseWebPart Web Part for the SearchResultsBaseDataSource object.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Overridable Property ParentWebpart As SearchResultsBaseWebPart
    Get
    Set
'Usage
Dim instance As SearchResultsBaseDatasource
Dim value As SearchResultsBaseWebPart

value = instance.ParentWebpart

instance.ParentWebpart = value
public virtual SearchResultsBaseWebPart ParentWebpart { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart
An instance of a SearchResultsBaseWebPart Web Part.

See Also

Reference

SearchResultsBaseDatasource Class

SearchResultsBaseDatasource Members

Microsoft.Office.Server.Search.WebControls Namespace