Share via


ResultScriptWebPart.UseSharedDataProvider property

Indicates if the web part is sharing a data provider from another web part

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<BrowsableAttribute(True)> _
<WebBrowsableAttribute(True)> _
Public Overrides Property UseSharedDataProvider As Boolean
    Get
    Set
'Usage
Dim instance As ResultScriptWebPart
Dim value As Boolean

value = instance.UseSharedDataProvider

instance.UseSharedDataProvider = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[BrowsableAttribute(true)]
[WebBrowsableAttribute(true)]
public override bool UseSharedDataProvider { get; set; }

Property value

Type: System.Boolean

See also

Reference

ResultScriptWebPart class

ResultScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace