LockTimeout (clsServer)

ms132870.note(zh-cn,SQL.90).gif注意:
  下一版本的 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.

请参阅

参考

clsServer

帮助和信息

获取 SQL Server 2005 帮助