Click or drag to resize

OidEncode Method (UInt32, UInt32)

Constructs a UInt64 from the components Database number and an encoded UInt32 contains page and slot number

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public static ulong Encode(
	uint db,
	uint pageSlot
)

Parameters

db
Type: SystemUInt32
Database number
pageSlot
Type: SystemUInt32
Encoded page and slot number

Return Value

Type: UInt64
A number containing the full object identifier
See Also