Click or drag to resize

DatabaseCloneAs Method

Any Database that only uses OidShort references can be cloned without changing any of the internals of the Database. This function simply copies the Database file. It is the user's responsibility to know that only OidShort references are used within the Database or else such references will still keep the original Database number.

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public Database CloneAs(
	uint otherAvaialbleDatabaseNumber
)

Parameters

otherAvaialbleDatabaseNumber
Type: SystemUInt32
The desired Id of the Database clone

Return Value

Type: Database
The Database clone
See Also