SessionNoServerSharedOpen Method (UInt32, UInt16, UInt16, Boolean, Int32) | 
 
            Opens a persistent object
            
 
    Namespace: 
   VelocityDb.Session
    Assembly:
   VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntaxpublic override IOptimizedPersistable Open(
	uint dbNum,
	ushort pageNum,
	ushort slotNum,
	bool update,
	int graphDepthToLoad = 2147483647
)
Public Overrides Function Open ( 
	dbNum As UInteger,
	pageNum As UShort,
	slotNum As UShort,
	update As Boolean,
	Optional graphDepthToLoad As Integer = 2147483647
) As IOptimizedPersistable
public:
virtual IOptimizedPersistable^ Open(
	unsigned int dbNum, 
	unsigned short pageNum, 
	unsigned short slotNum, 
	bool update, 
	int graphDepthToLoad = 2147483647
) override
abstract Open : 
        dbNum : uint32 * 
        pageNum : uint16 * 
        slotNum : uint16 * 
        update : bool * 
        ?graphDepthToLoad : int 
(* Defaults:
        let _graphDepthToLoad = defaultArg graphDepthToLoad 2147483647
*)
-> IOptimizedPersistable 
override Open : 
        dbNum : uint32 * 
        pageNum : uint16 * 
        slotNum : uint16 * 
        update : bool * 
        ?graphDepthToLoad : int 
(* Defaults:
        let _graphDepthToLoad = defaultArg graphDepthToLoad 2147483647
*)
-> IOptimizedPersistable Parameters
- dbNum
 - Type: SystemUInt32
Database number of the object to open - pageNum
 - Type: SystemUInt16
Page number of the object to open - slotNum
 - Type: SystemUInt16
Slot number of the object to open - update
 - Type: SystemBoolean
Open the object for update? - graphDepthToLoad (Optional)
 - Type: SystemInt32
Limit depth of graph to open 
Return Value
Type: 
IOptimizedPersistableThe opened object or null if it does not exist
See Also