Repository navigation
Expand file tree
/
Copy pathBackupOptionKind.cs
More file actions
69 lines (60 loc) · 1.86 KB
/
Copy pathBackupOptionKind.cs
File metadata and controls
69 lines (60 loc) · 1.86 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//------------------------------------------------------------------------------
// <copyright file="BackupOptions.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Microsoft.SqlServer.TransactSql.ScriptDom
{
#pragma warning disable 1591
/// <summary>
/// The types of backup options
/// </summary>
public enum BackupOptionKind
{
None = 0,
// Options without value
NoRecovery = 1,
TruncateOnly = 2,
NoLog = 3,
NoTruncate = 4,
Unload = 5,
NoUnload = 6,
Rewind = 7,
NoRewind = 8,
Format = 9,
NoFormat = 10,
Init = 11,
NoInit = 12,
Skip = 13,
NoSkip = 14,
Restart = 15,
Stats = 16, // Can have value
Differential = 17,
Snapshot = 18,
Checksum = 19,
NoChecksum = 20,
ContinueAfterError = 21,
StopOnError = 22,
CopyOnly = 23,
// Options with value
Standby = 24,
ExpireDate = 25,
RetainDays = 26,
Name = 27,
Description = 28,
Password = 29,
MediaName = 30,
MediaDescription= 31,
MediaPassword = 32,
BlockSize = 33,
BufferCount = 34,
MaxTransferSize = 35,
EnhancedIntegrity = 36,
// Added in Sql 2008 options (no value)
Compression = 37,
NoCompression = 38,
// Added in SQL 2014
Encryption = 39
}
#pragma warning restore 1591
}