コード例 #1
0
        // NOTE: This property is NOT exposed via the web.
        //       It is used to transparently support the admin tool
        //       connecting via a web service or a direct dll reference.
        //       It allows SecureData to override which database it points at
        //       (contrast the new SecureData() constructor used in this class against the one used in GUI.asmx)
        // public DataConnectionSpec DataConnectionSpec = null;

        public DataSet DeleteDataViewDefinition(bool suppressExceptions, string loginToken, string dataviewName)
        {
            using (SecureData sd = new SecureData(suppressExceptions, loginToken)) {
                return(sd.DeleteDataViewDefinition(dataviewName));
            }
        }