BlockingTimeout Property
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The BlockingTimeout property specifies a timeout interval for resource requests that are blocked due to conflicting resource lock requests.
구문
object.BlockingTimeout [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A long integer that specifies a number of milliseconds
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetBlockingTimeout(LPLONG pRetVal);
HRESULT SetBlockingTimeout(long NewValue);
주의
For SQL Distributed Management Objects (SQL-DMO) applications, the default value for BlockingTimeoutis 10,000 milliseconds (10 seconds).
The BlockingTimeout property determines the number of milliseconds waited when the SQL-DMO application needs sole access to a client resource. For the SQLServer object, the LoginTimeout and QueryTimeout properties control time-out behavior when an application request for a Microsoft SQL Server resource is made.
An attempt to set the BlockingTimeout property to a negative value returns the setting to the default 10 seconds (10,000).