Upscaledb.Environment.Open C# (CSharp) Method

Open() public method

Opens an existing Environment
This is an overloaded function for Open(fileName, flags, null).
public Open ( String fileName, int flags ) : void
fileName String
flags int
return void
        public void Open(String fileName, int flags)
        {
            Open(fileName, flags, null);
        }

Same methods

Environment::Open ( String fileName, int flags, Parameter parameters ) : void
Environment::Open ( string fileName ) : void

Usage Example

Esempio n. 1
0
 private void OpenStringNegative()
 {
     Upscaledb.Environment env = new Upscaledb.Environment();
     try {
         env.Open("ntestxxxxx.db");
         env.Close();
     }
     catch (DatabaseException e) {
         Assert.AreEqual(UpsConst.UPS_FILE_NOT_FOUND, e.ErrorCode);
     }
 }
All Usage Examples Of Upscaledb.Environment::Open