Arguments Element for ContentFormatter (ADF)

Provides a location for specifying the initialization arguments for a content formatter.

语法

<NotificationClasses>
    <NotificationClass>
        ...
        <ContentFormatter>
            ...
            <Arguments>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per ContentFormatter element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

ContentFormatter Element (ADF)

Child elements

Argument Element for ContentFormatter/Arguments (ADF)

备注

The distributor passes these arguments to the content formatter's Initialize() method.

示例

The following example shows an Arguments element. Its child elements provide initialization values for an XSLT content formatter.

<Arguments>
    <Argument>
        <Name>XsltBaseDirectory</Name>
        <Value>C:\TransformDirectory</Value>
    <Argument>
    <Argument>
        <Name>XsltFileName</Name>
        <Value>StockTransform.xsl</Value>
<Argument>
    <Argument>
        <Name>DisableEscaping</Name>
        <Value>true</Value>
    <Argument>
</Arguments>

请参阅

参考

Application Definition File Reference

其他资源

配置内容格式化程序
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助