Ejemplo n.º 1
0
        public string[] LoadLog(string computer, string site)
        {
            List <string>         log = new List <string>();
            UtilityIISLogArgument utilityIISLogArgument;

            utilityIISLogArgument = new UtilityIISLogArgument(computer, null, site);
            UtilityIISLog.LoadLog
            (
                utilityIISLogArgument,
                out log
            );
            return(log.ToArray());
        }
Ejemplo n.º 2
0
        ///<summary>IISSite_SelectedIndexChanged</summary>
        public void IISSite_SelectedIndexChanged(object sender, EventArgs evArgs)
        {
            List <string>         log;
            String                iisSite = (string)IISSite.SelectedItem;
            UtilityIISLogArgument utilityIISLogArgument = new UtilityIISLogArgument(Computer.Text, null, iisSite);

            UtilityIISLog.LoadLog
            (
                utilityIISLogArgument,
                out log
            );
            IISLog.DataSource = log;
        }