Query.IgnoreSafeQueryPropertiesTemplateUrl property

Gets or sets a flag that indicates whether the SafeQueryPropertiesTemplateUrl property should be ignored.

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

Syntax

'Declaration
Public Property IgnoreSafeQueryPropertiesTemplateUrl As Boolean
    Get
    Set
'Usage
Dim instance As Query
Dim value As Boolean

value = instance.IgnoreSafeQueryPropertiesTemplateUrl

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

Property value

Type: System.Boolean

Remarks

Setting this property to true will cause queries to fail for users who don’t have the UseRemoteAPIs() permission, such as anonymous users.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace