共用方式為


AssemblyName Element (ICF)

Specifies the path and file name of the assembly that contains the protocol class.

語法

<Protocols>
    <Protocol>
        ...
        <AssemblyName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Optional once per Protocol element.

Updates

Can be modified when updating the instance.

Element Relationships

Relationship Elements

Parent element

Protocol Element (ICF)

Child elements

None.

備註

Do not use the AssemblyName element for the HttpExtension delivery protocol included with Microsoft SQL Server Notification Services.

If you do not know the class and assembly names for a custom protocol, contact the developer or supplier who provided the custom delivery protocol. The assembly name is usually the name of a DLL containing the custom delivery protocol implementation and the class name is the class within the assembly for the protocol.

You must use either the full path to the assembly or the assembly's strong name.

範例

This example shows how to specify that the short message service (SMS) protocol class is located in the SMS.dll assembly.

<AssemblyName>C:\MyAssemblies\SMS.dll</AssemblyName>

The following example shows how to specify the assembly's strong name.

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

請參閱

參考

Application Definition File Reference

概念

Instance Configuration File Reference

說明及資訊

取得 SQL Server 2005 協助