-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStopInstanceOptions.cs
46 lines (36 loc) · 1.07 KB
/
StopInstanceOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// @(#) StopInstanceOptions.cs
//
// Project: usis.Data.LocalDb
// System: Microsoft Visual Studio 2022
// Author: Udo Schäfer
//
// Copyright (c) 2018-2023 usis GmbH. All rights reserved.
using System;
namespace usis.Data.LocalDb
{
// -------------------------------
// StopInstanceOptions enumeration
// -------------------------------
/// <summary>
/// Describes to options that spectify the way to stop an instance.
/// </summary>
[Flags]
public enum StopInstanceOptions
{
/// <summary>
/// Shut down by using the SHUTDOWN Transact-SQL command.
/// </summary>
None = 0x0,
/// <summary>
/// Shut down immediately using the kill process operating system
/// command.
/// </summary>
ShutdownKillProcess = 0x1,
/// <summary>
/// Shut down using the WITH NOWAIT option Transact-SQL command.
/// </summary>
ShutdownWithNoWait = 0x2
}
}
// eof "StopInstanceOptions.cs"