Share via


LockTimeout (clsServer)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The LockTimeout property of an object of ClassType clsServer sets or returns the amount of time until a lock request fails due to timeout.

Data Type

Long

Access

Read/write

Remarks

The value of this property must not be less than zero. The default is 20 seconds. For more information about locking a server, see LockObject, UnlockObject, and UnlockAllObjects.

See Also

Reference