다음을 통해 공유


Fields Element for Protocol (ADF)

Provides a location for the protocol header field definitions needed for one of the protocols used by the associated notification class.

구문

<NotificationClasses>
    <NotificationClass>
        ...
        <Protocols>
            <Protocol>
                ...
                <Fields>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Protocol element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Protocol Element (ADF)

Child elements

Field Element for Protocol/Fields (ADF)

주의

If you update a Fields element, updating the application deletes and re-creates the notification class to which it corresponds. This includes dropping and re-creating the SQL Server tables used by this notification class. Any data existing in the existing notification class tables is permanently deleted.

The following example shows a Fields element and its child elements. This example is specifying field values for an SMTP message.

<Fields>
    <Field>
        <FieldName>Subject</FieldName>
        <SqlExpression>%SubjectLine%</SqlExpression>
    </Field>
    <Field>
        <FieldName>From</FieldName>
        <SqlExpression>%fromAddress%</SqlExpression>
    </Field>
    <Field>
        <FieldName>To</FieldName>
        <FieldReference>DeviceAddress</FieldReference>
    </Field>
    <Field>
        <FieldName>Priority</FieldName>
        <SqlExpression>%mailPriority%</SqlExpression>
    </Field>
    <Field>
        <FieldName>BodyFormat</FieldName>
        <SqlExpression>&quot;html&quot;</SqlExpression>
    </Field>
</Fields>

참고 항목

참조

Application Definition File Reference

관련 자료

배달 프로토콜 이름 및 필드 지정
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기