Επεξεργασία

Κοινή χρήση μέσω


Reporting Services Delivery Extension Settings

Reporting Services includes an e-mail delivery extension and a file share delivery extension. E-mail delivery provides a way to send a report to individual users or groups through e-mail. File share delivery enables you to automatically send rendered reports to a share on your network. You can use either one of the supported delivery extensions with standard subscriptions or data-driven subscriptions. You pass delivery settings that are specific to the type of delivery extension whenever you call the CreateSubscription,CreateDataDrivenSubscription,SetSubscriptionProperties, and SetDataDrivenSubscriptionProperties methods. To retrieve a list of delivery settings programmatically, use the GetExtensionSettings method.

Note

Delivery extension settings are case-sensitive.

E-Mail Delivery Settings

The following table lists the e-mail delivery settings for subscriptions that use report server e-mail.

Setting Value
TO The e-mail address that appears on the To line of the e-mail message. Multiple e-mail addresses are separated by semicolons. Required.
CC The e-mail address that appears on the Cc line of the e-mail message. Multiple e-mail addresses are separated by semicolons. Optional.
BCC The e-mail address that appears on the Bcc line of the e-mail message. Multiple e-mail addresses are separated by semicolons. Optional.
ReplyTo The e-mail address that appears in the Reply-To header of the e-mail message. The value must be a single e-mail address. Optional.
IncludeReport A value that indicates whether to include the report in the e-mail delivery. A value of true indicates that the report is delivered in the body of the e-mail message.
RenderFormat The name of the rendering extension to use to generate the rendered report. The name must correspond to one of the visible rendering extensions installed on the report server. This value is required if the IncludeReport setting is set to a value of true.
Priority The priority with which the e-mail message is sent. Valid values are LOW, NORMAL, and HIGH. The default value is NORMAL.
Subject The text in the subject line of the e-mail message.
Comment The text included in the body of the e-mail message.
IncludeLink A value that indicates whether to include a link to the report in the body of the e-mail.

File Share Delivery Settings

The following table lists the file share delivery settings for subscriptions.

Setting Value
FILENAME The name of the file that is saved to disk.
FILEEXTN Indicates whether to include a file extension for the rendered report. The value is either true or false.
PATH The folder path or UNC file share path to which to save the report.
RENDER_FORMAT The format of the report that is saved to disk.
USERNAME The username required to access the network resource or disk.
PASSWORD The password required to access the network resource or disk.
WRITEMODE The write mode to use when accessing the disk. Valid values are None, Overwrite, and AutoIncrement.