共用方式為


Complete ICF Template

This instance configuration file (ICF) template contains all ICF elements, including the optional ParameterDefaults, Version, History, Database, and EncryptArguments elements.

ms145917.note(zh-tw,SQL.90).gif重要事項:
If you do not define a value for an element, make sure you want to use the default value, and then omit the element from the ICF. Many elements cannot be empty.

Click Copy Code to copy this template to the Clipboard.

<?xml version="1.0" encoding="utf-8"?>
<!--Microsoft Notification Services "Configuration File"-->

<NotificationServicesInstance 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="https://www.microsoft.com/MicrosoftNotificationServices/ConfigurationFileSchema">

<!-- Parameter Default Values -->
<ParameterDefaults>
    <!-- Multiple Parameter Elements Allowed -->
    <Parameter>
        <Name></Name>
        <Value></Value>
    </Parameter>
</ParameterDefaults>

<!-- Version -->
<Version>
    <Major></Major>
    <Minor></Minor>
    <Build></Build>
    <Revision></Revision>
</Version>

<!-- History -->
<History>
    <CreationDate></CreationDate>
    <CreationTime></CreationTime>
    <LastModifiedDate></LastModifiedDate>
    <LastModifiedTime></LastModifiedTime>
</History>

<!-- Notification Services Instance Name -->
<InstanceName></InstanceName>

<!-- Database Engine Instance Name -->
<SqlServerSystem></SqlServerSystem>

<!-- Database -->
<Database>
    <DatabaseName></DatabaseName>
    <SchemaName></SchemaName>
    <!-- Multiple NamedFileGroup Elements Allowed -->
    <NamedFileGroup>
        <FileGroupName></FileGroupName>
      <!-- Multiple FileSpec Elements Allowed -->
        <FileSpec>
            <LogicalName></LogicalName>
            <FileName></FileName>
            <Size></Size>
            <MaxSize></MaxSize>
            <GrowthIncrement></GrowthIncrement>
        </FileSpec>
    </NamedFileGroup>
    <!-- Multiple LogFile Elements Allowed -->
    <LogFile>
        <LogicalName></LogicalName>
        <FileName></FileName>
        <Size></Size>
        <MaxSize></MaxSize>
        <GrowthIncrement></GrowthIncrement>
    </LogFile>
    <DefaultFileGroup></DefaultFileGroup>
    <CollationName></CollationName>
</Database>

<!--Applications-->
<Applications>
    <!-- Multiple Application Elements Allowed -->
    <Application>
        <ApplicationName></ApplicationName>
        <BaseDirectoryPath></BaseDirectoryPath>
        <ApplicationDefinitionFilePath></ApplicationDefinitionFilePath>
        <Parameters>
        <!-- Multiple Parameter Elements Allowed -->
            <Parameter>
                <Name></Name>
                <Value></Value>
            </Parameter>
        </Parameters>
    </Application>
</Applications>

<!--Protocols-->
<Protocols>
    <!-- Multiple Protocol Elements Allowed -->
    <Protocol>
        <ProtocolName></ProtocolName>
        <ClassName></ClassName>
        <AssemblyName></AssemblyName>
    </Protocol>
</Protocols>

<!--Delivery Channels-->
<DeliveryChannels>
    <!-- Multiple DeliveryChannel Elements Allowed -->
    <DeliveryChannel>
        <DeliveryChannelName></DeliveryChannelName>
        <ProtocolName></ProtocolName>
        <Arguments>
        <!-- Multiple Argument Elements Allowed -->
            <Argument>
                <Name></Name>
                <Value></Value>
            </Argument>
        </Arguments>
    </DeliveryChannel>
</DeliveryChannels>

<!--Argument Encryption Flag -->
<EncryptArguments></EncryptArguments>

</NotificationServicesInstance>

請參閱

概念

Instance Configuration File Reference
Instance Configuration File Templates

其他資源

設定 Notification Services 的執行個體

說明及資訊

取得 SQL Server 2005 協助