DatabaseLocation Constructor (String, String, UInt32, UInt32, SessionBase, PageInfocompressionKind, PageInfoencryptionKind, Boolean, DatabaseLocation) |
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public DatabaseLocation(
string inHost,
string dir,
uint dbStartNum,
uint dbEndNum,
SessionBase session,
PageInfocompressionKind compressPages,
PageInfoencryptionKind pageEncryption = PageInfoencryptionKind.noEncryption,
bool isAbackupLocation = false,
DatabaseLocation backupOfOrForLocation = null
)
Public Sub New (
inHost As String,
dir As String,
dbStartNum As UInteger,
dbEndNum As UInteger,
session As SessionBase,
compressPages As PageInfocompressionKind,
Optional pageEncryption As PageInfoencryptionKind = PageInfoencryptionKind.noEncryption,
Optional isAbackupLocation As Boolean = false,
Optional backupOfOrForLocation As DatabaseLocation = Nothing
)
public:
DatabaseLocation(
String^ inHost,
String^ dir,
unsigned int dbStartNum,
unsigned int dbEndNum,
SessionBase^ session,
PageInfocompressionKind compressPages,
PageInfoencryptionKind pageEncryption = PageInfoencryptionKind::noEncryption,
bool isAbackupLocation = false,
DatabaseLocation^ backupOfOrForLocation = nullptr
)
new :
inHost : string *
dir : string *
dbStartNum : uint32 *
dbEndNum : uint32 *
session : SessionBase *
compressPages : PageInfocompressionKind *
?pageEncryption : PageInfoencryptionKind *
?isAbackupLocation : bool *
?backupOfOrForLocation : DatabaseLocation
(* Defaults:
let _pageEncryption = defaultArg pageEncryption PageInfoencryptionKind.noEncryption
let _isAbackupLocation = defaultArg isAbackupLocation false
let _backupOfOrForLocation = defaultArg backupOfOrForLocation null
*)
-> DatabaseLocation
Parameters
- inHost
- Type: SystemString
Hostname of the computer with the DatabaseLocation directory. - dir
- Type: SystemString
The full path of the directory - dbStartNum
- Type: SystemUInt32
The first Database Id number for this location - dbEndNum
- Type: SystemUInt32
The last Database Id number for this location. - session
- Type: VelocityDb.SessionSessionBase
The active session used for creating the location. - compressPages
- Type: VelocityDbPageInfocompressionKind
Compress Database pages in this location? - pageEncryption (Optional)
- Type: VelocityDbPageInfoencryptionKind
Specify what kind of Page encryption to use (if any) - isAbackupLocation (Optional)
- Type: SystemBoolean
Is this location a backup location for another location? - backupOfOrForLocation (Optional)
- Type: VelocityDbDatabaseLocation
The other location being backed up or the location contain the backups
See Also