編輯

共用方式為


Subscription element

(Subscription schema)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

The top-level (root) element that defines a cache subscription.

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

schema: Subscription

<Subscription EntityName = "String" EntityNamespace = "String" RefreshIntervalInMinutes = "Long" View = "String" Enabled = "Boolean" LobSystemInstanceName = "String" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </Subscription>

Elements and attributes

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

Attributes

Attribute

Description

**EntityName**

Required.

The name of the external content type.

Attribute type: **String**

**EntityNamespace**

Required.

The namespace that the external content type belongs to.

Attribute type: **String**

**RefreshIntervalInMinutes**

Required.

The interval in minutes at which Microsoft Business Connectivity Services (BCS) refreshes the cache subscription. Cannot be less than 10 minutes. If set to less than 10 minutes, the value will be ignored by Business Connectivity Services.

Attribute type: **Long**

**View**

Required.

Attribute type: **String**

**Enabled**

Optional.

Attribute type: **Boolean**

**LobSystemInstanceName**

Required.

Attribute type: **String**

**Name**

Required.

Attribute type: **String**

**DefaultDisplayName**

Optional.

Attribute type: **String**

**IsCached**

Optional.

Attribute type: **Boolean**

Child elements

Element Description
LocalizedDisplayNames element in MetadataObject (Subscription schema)
Properties element in MetadataObject (Subscription schema)
Identities element in Subscription (Subscription schema)
Queries element in Subscription (Subscription schema)
Associations element in Subscription (Subscription schema)

Parent elements

None.