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)
Available in Sandboxed Solutions: No

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