Share via


Query Element in Queries (Subscription Schema)

Applies to: SharePoint Server 2010

Specifies a Finder or IDEnumerator method instance to execute to populate the cache.

Namespace: https://schemas.microsoft.com/office/2006/03/BusinessDataCatalog

Schema: Subscription

<Query RefreshIntervalInMinutes = "Long" MethodInstanceName = "String" Enabled = "Boolean" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </Query>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

RefreshIntervalInMinutes

Required.

The time interval in minutes at which to refresh the cache. This value cannot be less than 10 minutes. If set to less than 10 minutes, Microsoft Business Connectivity Services (BCS) ignores this value and uses the default refresh interval of 60 minutes.

Attribute type: Long

MethodInstanceName

Required.

The name of the Finder or IDEnumerator method instance defined in the model.

Attribute type: String

Enabled

Optional.

Specifies whether this query is enabled. If not enabled, this query is not run.

Attribute type: Boolean

Name

Required.

The name of this query.

Attribute type: String

DefaultDisplayName

Optional.

The default display name of this query.

Attribute type: String

IsCached

Optional.

This attribute is not used by Business Connectivity Services in this release.

Attribute type: Boolean

Child Elements

Element

Description

LocalizedDisplayNames Element in MetadataObject (Subscription Schema)

A list of localized display names for this query.

Properties Element in MetadataObject (Subscription Schema)

This is not used by Business Connectivity Services in this release.

FilterValues Element in Query (Subscription Schema)

A list of filter values for the Finder or the IDEnumerator method instance.

Parent Elements

Element

Description

Queries Element in Subscription (Subscription Schema)

The list of queries that contains this query.