LockTimeout (clsServer)

注意注意

  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

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

注释

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.

请参阅

参考