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
)
Public Function CloneAs (
otherAvaialbleDatabaseNumber As UInteger
) As Database
public:
Database^ CloneAs(
unsigned int otherAvaialbleDatabaseNumber
)
member CloneAs :
otherAvaialbleDatabaseNumber : uint32 -> Database
Parameters
- otherAvaialbleDatabaseNumber
- Type: SystemUInt32
The desired Id of the Database clone
Return Value
Type:
DatabaseThe Database clone
See Also