Argument Element (ICF)

Contains one name/value pair for a delivery channel argument. These arguments are typically used to supply configuration and authentication information required by the delivery service.

语法

<DeliveryChannels>
    <DeliveryChannel>
        ...
        <Arguments>
            <Argument>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once or more per Arguments element.

Updates

Can be added or deleted, and then applied when updating the instance.

Element Relationships

Relationship Elements

Parent element

Arguments Element (ICF)

Child elements

Name Element for DeliveryChannel/Arguments/Argument (ICF)

Value Element for DeliveryChannel/Arguments/Argument (ICF)

备注

Delivery channel arguments are dependent on the delivery protocol. Each protocol has its own requirements. Examples of delivery channel arguments are the server name, a user name, and a password. The specified arguments are passed to the delivery protocol upon initialization. In the case of custom delivery protocols, these arguments are passed to the Initialize method.

For information about the arguments required by standard delivery protocols, see 标准传递协议.

Notification Services does not validate delivery channel arguments when you create or update the instance.

Notification Services stores the argument names and values in the instance database. To encrypt the values stored in the database, use argument encryption. For more information, see 配置参数加密.

ms145836.note(zh-cn,SQL.90).gif注意:
Do not store user name and password information in the instance configuration file (ICF). Use parameters, as shown in the example, and then provide values for the parameters when creating and updating the instance.

示例

This example shows how to provide a user value to a delivery channel. You can specify a value for %User% on the command line or in the ParameterDefaults section.

<Argument>
    <Name>User</Name>
    <Value>%User%</Value>
</Argument>

请参阅

参考

Application Definition File Reference

概念

Instance Configuration File Reference

帮助和信息

获取 SQL Server 2005 帮助