public object GetDynamicParameters()
        {
            RuntimeDefinedParameterDictionary dynamicParams = null;

            if (serverTypeSet)
            {
                ServerTypeEnum type = ServerType;
                switch (type)
                {
                case ServerTypeEnum.SQL:
                    this.connCmdlet = new SqlConnectionInfoCmdlet(this.MyInvocation);
                    break;

                case ServerTypeEnum.MongoDb:
                    this.connCmdlet = new MongoDbConnectionInfoCmdlet(this.MyInvocation);
                    break;

                case ServerTypeEnum.SQLMI:
                    this.connCmdlet = new MiSqlConnectionInfoCmdlet(this.MyInvocation);
                    break;

                default:
                    throw new PSArgumentException();
                }

                dynamicParams = connCmdlet.RuntimeDefinedParams;
            }

            return(dynamicParams);
        }