protected override void InternalProcessRecord() { try { if (base.DataSession.Read <ADComplianceProgramCollection>(this.DataObject.Id) == null) { base.InternalProcessRecord(); } } catch (ADObjectAlreadyExistsException) { } using (Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(InstallOutOfBoxDlpPolicyCollection.DlpPolicyTemplatesXmlResourceId)) { DlpUtils.DeleteOutOfBoxDlpPolicies(base.DataSession); DlpUtils.SaveOutOfBoxDlpTemplates(base.DataSession, DlpPolicyParser.ParseDlpPolicyTemplates(manifestResourceStream)); } }