AssemblyName Element for HostedProvider (ADF)

Specifies the assembly that contains the class that implements the hosted event provider functionality.

语法

<Providers>
    <HostedProvider>
        ...
        <AssemblyName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Required once per HostedProvider element for custom components. Not used with Notification Services standard components.

Updates

Can be modified, but not added to or deleted from a hosted event provider, when updating the application.

Element Relationships

Relationship Elements

Parent element

HostedProvider Element (ADF)

Child elements

None.

备注

The value for AssemblyName must be either a fully-qualified path to the event provider assembly or a fully-qualified assembly name.

示例

The following example shows a fully-qualified path to the event provider assembly.

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

The following example a fully-qualified assembly name.

<AssemblyName>WebFeedProvider, Version=1.0.1234.0, Culture=en-US, 
              PublicKeyToken=b77a5c561934e089c</AssemblyName>

请参阅

参考

Application Definition File Reference

其他资源

定义宿主事件提供程序
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助