Share via


SPDatabaseService.CommandTimeout property

Gets or sets the number of seconds before the command will time out. 

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property CommandTimeout As Integer
    Get
    Set
'Usage
Dim instance As SPDatabaseService
Dim value As Integer

value = instance.CommandTimeout

instance.CommandTimeout = value
public int CommandTimeout { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the number of seconds.

See also

Reference

SPDatabaseService class

SPDatabaseService members

Microsoft.SharePoint.Administration namespace