解决方案项目:CustomerSubscription.xml

上次修改时间: 2010年4月19日

适用范围: SharePoint Server 2010

本主题介绍在客户订单声明性 Outlook 解决方案中使用的 CustomerSubscription 文件的内容。

<?xml version="1.0" encoding="utf-8"?>
<Subscription LobSystemInstanceName="AdventureWorksContosoLOBInstance" EntityNamespace="AdventureWorksContoso" EntityName="Customer" Name="AdventureWorksContosoCustomerSubscription" View="GetCustomerById" IsCached="true" RefreshIntervalInMinutes="360" xmlns="https://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
  <Queries>
    <Query Name="AdventureWorksContosoCustomerQuery" MethodInstanceName="GetCustomers" DefaultDisplayName="Customer Read List" RefreshIntervalInMinutes="180" IsCached="true" Enabled="true" />
  </Queries>
  <Associations>
    <Association Name="GetOrdersForCustomer" MethodInstanceName="GetOrdersForCustomer" TargetSubscriptionName="AdventureWorksContosoOrderHeaderSubscription" TargetView="GetSalesOrderHeaderById" LobSystemInstanceName="AdventureWorksContosoLOBInstance"  RefreshIntervalInMinutes="60"/>
  </Associations>
</Subscription>