Example #1
0
        private void TestPstImportSubscription(IMigrationDataProvider dataProvider, PSTImportEndpoint endpoint, MailboxData targetMailbox)
        {
            PSTJobItemSubscriptionSettings jobItemSettings = PSTJobItemSubscriptionSettings.CreateFromProperties(this.FilePath);
            PSTImportAccessor pstimportAccessor            = new PSTImportAccessor(dataProvider, null);

            pstimportAccessor.TestCreateSubscription(endpoint, null, jobItemSettings, targetMailbox, "PSTImport");
        }
Example #2
0
 private void InternalProcessPSTImport()
 {
     this.InternalProcessEndpoint(false);
     if (!string.IsNullOrEmpty(this.FilePath))
     {
         PSTImportEndpoint pstimportEndpoint = this.endpoint as PSTImportEndpoint;
         this.TestPstImportSubscription(base.DataProvider, pstimportEndpoint, this.targetMailbox);
     }
 }