예제 #1
0
        private void SubscribeForEvents()
        {
            ptrBackupEvent  = new InternalCAPI.ServerBackupCallback(BackupFunction);
            ptrCleanupEvent = new InternalCAPI.ServerCleanupCallback(CleanupFunction);

            CeBackupServerException.RaiseIfNotSucceeded(InternalCAPI.SubscribeForBackupEvents(ptrBackupEvent));
            CeBackupServerException.RaiseIfNotSucceeded(InternalCAPI.SubscribeForCleanupEvents(ptrCleanupEvent));
        }