public void ShutdownOnline2Test() { if (!EnsureVersion(new Version("2.5.0.0"))) { return; } FbConfiguration configurationSvc = new FbConfiguration(); configurationSvc.ConnectionString = BuildServicesConnectionString(FbServerType); configurationSvc.DatabaseShutdown2(FbShutdownOnlineMode.Full, FbShutdownType.ForceShutdown, 10); configurationSvc.DatabaseOnline2(FbShutdownOnlineMode.Normal); }
public void ShutdownOnline2Test() { if (!EnsureVersion(new Version(2, 5, 0, 0))) { return; } var configurationSvc = new FbConfiguration(); configurationSvc.ConnectionString = BuildServicesConnectionString(FbServerType, Compression, WireCrypt, true); configurationSvc.DatabaseShutdown2(FbShutdownOnlineMode.Full, FbShutdownType.ForceShutdown, 10); configurationSvc.DatabaseOnline2(FbShutdownOnlineMode.Normal); }
public void ShutdownOnline2Test() { if (GetServerVersion() < new Version("2.5.0.0")) { Assert.Inconclusive("Not supported on this version."); return; } FbConfiguration configurationSvc = new FbConfiguration(); configurationSvc.ConnectionString = BuildServicesConnectionString(); configurationSvc.DatabaseShutdown2(FbShutdownOnlineMode.Full, FbShutdownType.ForceShutdown, 10); configurationSvc.DatabaseOnline2(FbShutdownOnlineMode.Normal); }