public static EnvGetDatabaseNames ( |
||
handle | ||
names | short | |
return | int |
/// <summary> /// Returns the names of all Databases in this Environment /// </summary> /// <remarks> /// This method wraps the native ups_env_get_database_names function. /// <br /> /// This function returns the names of all Databases and the number of /// Databases in an Environment. /// </remarks> /// <returns>An Array with all Database names</returns> public short[] GetDatabaseNames() { short[] ret; int st; lock (this) { st = NativeMethods.EnvGetDatabaseNames(handle, out ret); } if (st != 0) { throw new DatabaseException(st); } return(ret); }