Click or drag to resize

ServerClientSession Constructor (ListReplicaInfo, Int32, Boolean, Boolean, Boolean, CacheEnum, Boolean)

Initializes a new instance of the ServerClientSession class

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public ServerClientSession(
	List<ReplicaInfo> systemHostPath,
	int waitForLockMilliseconds = 2000,
	bool optimisticLocking = true,
	bool inMemoryOnly = false,
	bool enablePageCache = true,
	CacheEnum objectCachingDefaultPolicy = CacheEnum.Yes,
	bool enableDatabaseCache = true
)

Parameters

systemHostPath
Type: System.Collections.GenericListReplicaInfo

[Missing <param name="systemHostPath"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

waitForLockMilliseconds (Optional)
Type: SystemInt32

[Missing <param name="waitForLockMilliseconds"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

optimisticLocking (Optional)
Type: SystemBoolean

[Missing <param name="optimisticLocking"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

inMemoryOnly (Optional)
Type: SystemBoolean

[Missing <param name="inMemoryOnly"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

enablePageCache (Optional)
Type: SystemBoolean

[Missing <param name="enablePageCache"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

objectCachingDefaultPolicy (Optional)
Type: VelocityDbCacheEnum

[Missing <param name="objectCachingDefaultPolicy"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

enableDatabaseCache (Optional)
Type: SystemBoolean

[Missing <param name="enableDatabaseCache"/> documentation for "M:VelocityDb.Session.ServerClientSession.#ctor(System.Collections.Generic.List{VelocityDb.Session.ReplicaInfo},System.Int32,System.Boolean,System.Boolean,System.Boolean,VelocityDb.CacheEnum,System.Boolean)"]

See Also