示例#1
0
        private string GetServerGroupFromAlias(string AliasName)
        {
            string GroupDesc = string.Empty;

            using (DataStuff sn = new DataStuff())
            {
                DataTable dt = sn.GetServerGroupFromAlias(AliasName);

                if (dt.Rows.Count > 0)
                {
                    foreach (DataRow row in dt.Rows)
                    {
                        GroupDesc = row["ServerGroupDesc"].ToString();
                    }
                }
            }

            return(GroupDesc);
        }