適用於 Reporting Services 版本的程式設計功能

本主題討論不同 Reporting Services 版本提供的可程式性功能。

  • 依版本的功能限制

  • Web 服務 API 方法可用性

  • 無法使用之功能的錯誤訊息

依版本的功能限制

下表依照版本列出可程式性功能區支援。

功能/版本

Express

Workgroup

Standard

Enterprise

資料來源

Express1

Workgroup12

Y

Y

轉譯格式

Excel、PDF、影像 (RGDI、列印)、HTML、Word

Excel、PDF、影像 (RGDI、列印)、HTML、Word

Y

Y

管理

報表管理員

Y

Y

Y

快取

N

N

Y

Y

記錄

N

N

Y

Y

傳遞

N

N

Y

Y

排程

N

N

Y

Y

擴充性

N

N

Y

Y

自訂驗證

N

Y

Y

Y

向外延展報表伺服器

N

N

N

Y

訂閱

N

N

Y

Y

資料導向訂閱

N

N

N

Y

以角色為基礎的安全性

固定角色

固定角色

Y

Y

報表產生器

N

Y

Y

Y

報表模型

N

Workgroup12

Y

Y

模型層級安全性

N

N

Y

Y

無限點選連結

N

N

N

Y

附註:

1 僅限本機 SQL Server 執行個體。

2 僅限 SQL Server 和 Analysis Services。

依版本的 Web 服務 API 方法可用性

下表顯示不適用於 SQL Server Express 的執行 Web 服務端點方法呼叫。

Method

Restriction

LoadReport

LoadReport2

記錄。如果 HistoryID 參數不是 null,就會擲回例外狀況。

下表顯示 SQL Server Express 不提供的管理 Web 服務端點方法呼叫。

Method

Restriction Reason

CreateDataDrivenSubscription

DataDrivenSubscriptions

CreateReportHistorySnapshot

記錄

CreateRole

CustomRolesSecurity

CreateSchedule

排程

CreateSubscription

訂閱

DeleteReportHistorySnapshot

記錄

DeleteRole

CustomRolesSecurity

DeleteSchedule

排程

DeleteSubscription

訂閱

GetDataDrivenSubscriptionProperties

DataDrivenSubscriptions

GetExecutionOptions

ExecutionSnapshots 和排程。如果 ExecutionSetting 參數不等於 ExecutionSettingEnum.Live,而且如果 Schedule 參數不是 null,則發生例外狀況。

GetReportHistoryLimit

記錄

GetReportHistoryOptions

記錄及排程。如果 Schedule 參數不是 null,則發生例外狀況。

GetReportParameters

記錄。如果 HistoryID 參數不是 null,則發生例外狀況。

GetScheduleProperties

排程

GetSubscriptionProperties

訂閱

ListReportHistory

記錄

ListScheduledReports

排程

ListSchedules

排程

ListSubscriptions

訂閱

ListSubscriptionsUsingDataSource

ListSubscriptionsUsingDataSource

PauseSchedule

排程

ResumeSchedule

排程

SetCacheOptions

快取

SetDataDrivenSubscriptionProperties

DataDrivenSubscriptions

SetExecutionOptions

ExecutionSnapshots 和排程。如果 ExecutionSetting 參數不等於 ExecutionSettingEnum.Live,而且如果 Schedule 參數不是 null,則發生例外狀況。

SetReportHistoryLimit

記錄

SetReportHistoryOptions

記錄及排程。如果 Schedule 參數不是 null,則發生例外狀況。

SetRoleProperties

CustomRolesSecurity

SetScheduleProperties

排程

SetSubscriptionProperties

訂閱

UpdateReportExecutionSnapshot

ExecutionSnapshots

無法使用之功能的錯誤訊息

如果呼叫使用目前所安裝 Reporting Services 版本不支援之功能的 SOAP 方法,Reporting Services 將會傳回 RSNotSupported 錯誤。此錯誤訊息的文字為:

This feature is unavailable in this edition of Microsoft SQL Server Reporting Services.

嘗試存取已過期的 Reporting Services 評估版本時,Reporting Services 將會傳回 RSEvaluationPeriodExpired 錯誤訊息。此錯誤訊息的文字為:

The evaluation period for this instance of Microsoft SQL Server Reporting Services has expired. A license is now required.