AssemblyName Element for ContentFormatter (ADF)

Specifies the assembly that contains the custom content formatter class.

语法

<NotificationClasses>
    <NotificationClass>
        ...
        <ContentFormatter>
            ...
            <AssemblyName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Required once per ContentFormatter element for a custom content formatter. Not used with SQL Server 2005 Notification Services standard components.

Updates

Can be modified, but not added to or deleted from a content formatter, when updating the application.

Element Relationships

Relationship Elements

Parent Node

ContentFormatter Element (ADF)

Child elements

None.

示例

The following example shows the full path to the content formatter assembly.

<AssemblyName>C:\ProductionCode\ContentFormatter.dll</AssemblyName>

The following example shows a fully-qualified assembly name.

<AssemblyName>ContentFormatter, Version=1.0.1234.0, Culture=en-US, 
              PublicKeyToken=b77a5c561934e089d</AssemblyName>

请参阅

参考

Application Definition File Reference

其他资源

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

帮助和信息

获取 SQL Server 2005 帮助