Пример #1
0
        public Main_SecuritySummary(Sql.Policy policyIn, Views.View_Main_SecuritySummary.SecurityView showTabIn)
        {
            Debug.Assert(policyIn != null, "Security Summary called with null Policy");

            m_Policy       = policyIn;
            m_Server       = null;
            m_Name         = m_Policy.PolicyName;
            m_SecurityView = showTabIn;
        }
Пример #2
0
        public Main_SecuritySummary(Sql.Policy policyIn, Sql.RegisteredServer serverIn, Views.View_Main_SecuritySummary.SecurityView showTabIn)
        {
            Debug.Assert(policyIn != null, "Security Summary called with null Policy");
            Debug.Assert(serverIn != null, "Security Summary called with null Server");

            m_Policy       = policyIn;
            m_Server       = serverIn;
            m_Name         = string.Format("{0}::{1}", m_Policy.PolicyName, m_Server.ConnectionName);
            m_SecurityView = showTabIn;

            Program.gController.SetCurrentPolicy(m_Policy);
        }