共用方式為


Arguments Element (ICF)

Contains one or more Argument elements, each of which specifies a name/value pair for a delivery channel argument. Typical uses of these arguments are to supply configuration and authentication information required by the delivery service.

語法

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

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per DeliveryChannel element.

Updates

Can be added and deleted when updating the instance.

Element Relationships

Relationship Elements

Parent element

DeliveryChannel Element (ICF)

Child elements

Argument Element (ICF)

備註

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 設定引數加密.

ms146592.note(zh-tw,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 three delivery channel arguments defined within the Arguments element. These arguments configure the delivery channel for use by the distributor.

<Arguments>
    <Argument>
        <Name>Server</Name>
        <Value>//Exchange10</Value>
    </Argument>
    <Argument>
        <Name>User</Name>
        <Value>%User%</Value>
    </Argument>
    <Argument>
        <Name>Pwd</Name>
        <Value>%Pwd%</Value>
    </Argument>
</Arguments>

請參閱

參考

Application Definition File Reference

概念

Instance Configuration File Reference

說明及資訊

取得 SQL Server 2005 協助