Share via


DataProviderScriptWebPart.QueryPropertiesTemplateUrl property

Specifies the location of the QueryProperties template. This property must be specified when issuing a query by a user who does not have UseRemoteAPIs() permission enabled. If the query will not run without UseRemoteAPIs() permission enabled, you can set the IgnoreQueryPropertiesTemplateUrl() property to true instead.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property QueryPropertiesTemplateUrl As String
    Get
    Set
'Usage
Dim instance As DataProviderScriptWebPart
Dim value As String

value = instance.QueryPropertiesTemplateUrl

instance.QueryPropertiesTemplateUrl = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public string QueryPropertiesTemplateUrl { get; set; }

Property value

Type: System.String

See also

Reference

DataProviderScriptWebPart class

DataProviderScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace