public void SyncResetDatabase(String aScope) { SyncResetDatabaseUpnpOrgContentDirectory1 sync = new SyncResetDatabaseUpnpOrgContentDirectory1(this); BeginResetDatabase(aScope, sync.AsyncComplete()); sync.Wait(); sync.ReportError(); }