Database-command-timeout: Stsadm property (Office SharePoint Server)
Updated: December 20, 2007
Applies To: Office SharePoint Server 2007
Retrieves or sets the wait time before terminating the attempt to execute a command and generating an error.
stsadm -o setproperty
-propertyvalue <A valid time, in seconds>
The syntax for the getproperty operation is:
stsadm -o getproperty
You can substitute -pn for -propertyname and -pv for -propertyvalue.
The following table shows possible values.
Gets or sets the name of the property.
A valid time. The default value is 30 seconds.
A value of zero indications no limit, and should be avoided because an attempt to execute this value will wait indefinitely.
Typically, a path to the URL of the Web application, in the form http://server_name.
This property is the cumulative time-out for all network reads during command execution or processing of the results. A time-out can still occur after the first row of results is returned, and does not include user processing time, only network read time.
To set the timeout value to 45 seconds, use the following syntax:
stsadm -o setproperty -pn database-command-timeout -pv 45
To view the current setting of the database-command-timeout property, use the following syntax:
stsadm -o getproperty -pn database-command-timeout