Пример #1
0
        public SasSubmit(string server, string host, string port)
        {
            this.server = server;
            this.host   = host;
            this.port   = port;

            activeSession      = new SasServer();
            activeSession.Host = host;
            activeSession.Port = port;
            activeSession.Name = server;
        }
Пример #2
0
        // Get the configuration for workspace server
        public static SasServer ServerConfig(string server, string host, string port)
        {
            SasServer s = new SasServer
            {
                Name = server,
                Host = host,
                Port = port
            };

            return(s);
        }