Share via


Query.IgnoreSafeQueryPropertiesTemplateUrl property

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

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.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
true when the UseRemoteAPIs() permission is required; otherwise, false.

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.SharePoint.Client.Search.Query namespace