⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configinfo.cs

📁 SQL Server 2005 Service Broker (SSB) is an asynchronous messaging technology built into SQL Server.
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace SSBExternalActivationRouter
{
    sealed class ConfigInfo
    {
        private ConfigInfo () //Singleton
        {
        }

        public static string Destination(string IDValue)
        {
            string retval = "";

            switch (IDValue)
            {
                case "SQL2000":
                    retval = "Data Source=TACOBELL;Initial Catalog=TestSSB;Integrated Security=SSPI;";
                    break;
                case "MSMQ":
                    retval = @".\private$\Test"; //Remember to create this
                    break;
            }

            return (retval);

        }

        public static string Source()
        {
            string retval = "";

            retval = "Data Source=20201XP;Initial Catalog=PubSub;Integrated Security=SSPI;";

            return (retval);
        }

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -