Defines the action to perform when opening a BPlusTree with an existing log file.
Syntax
Visual Basic (Declaration) | |
---|
Public Enum ExistingLogAction
Inherits System.Enum |
Members
Example
BPlusTree/BPlusTree.Test/BasicTestsVersion2.cs
C# | Copy Code |
---|
var options = (BPlusTree<int, string>.OptionsV2)Options;
Assert.AreEqual(ExistingLogAction.Default, options.ExistingLogAction);
options.ExistingLogAction = ExistingLogAction.Ignore;
Assert.AreEqual(ExistingLogAction.Ignore, options.ExistingLogAction);
Assert.AreEqual(-1, options.TransactionLogLimit);
options.TransactionLogLimit = int.MaxValue;
Assert.AreEqual(int.MaxValue, options.TransactionLogLimit); |
VB.NET | Copy Code |
---|
Dim options As var = DirectCast(Options, BPlusTree(Of Integer, String).OptionsV2)
Assert.AreEqual(ExistingLogAction.[Default], options.ExistingLogAction)
options.ExistingLogAction = ExistingLogAction.Ignore
Assert.AreEqual(ExistingLogAction.Ignore, options.ExistingLogAction)
Assert.AreEqual(-1, options.TransactionLogLimit)
options.TransactionLogLimit = Integer.MaxValue
Assert.AreEqual(Integer.MaxValue, options.TransactionLogLimit) |
Inheritance Hierarchy
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
See Also