共用方式為


LogStatusInfo Element (ADF)

Specifies whether the distributor logs status information for all or just failed notifications.

語法

<ApplicationExecutionSettings>
    ...
    <DistributorLogging>
        ...
        <LogStatusInfo>

Element Characteristics

Characteristic Description

Data type

Boolean.

Default value

true.

Occurrence

Optional once per DistributorLogging element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

DistributorLogging Element (ADF)

Child elements

None.

備註

Notification Services always logs status information for failed deliveries. Setting the LogStatusInfo value to true configures Notification Services to log status information text for all notifications.

Logged status text is limited to 2048 Unicode characters.

To view log data, use the NS<NotificationClassName>NotificationDistribution 檢視.

範例

The following example shows how to specify that the application logs notification status information only for failed notifications.

<LogStatusInfo>false</LogStatusInfo>

請參閱

參考

Application Definition File Reference

其他資源

設定散發者記錄
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助