Propriété CommandTimeout
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
Espace de noms : Microsoft.ReportingServices.DataProcessing
Assemblys : Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
Syntaxe
'Déclaration
Property CommandTimeout As Integer
Get
Set
'Utilisation
Dim instance As IDbCommand
Dim value As Integer
value = instance.CommandTimeout
instance.CommandTimeout = value
int CommandTimeout { get; set; }
property int CommandTimeout {
int get ();
void set (int value);
}
abstract CommandTimeout : int with get, set
function get CommandTimeout () : int
function set CommandTimeout (value : int)
Valeur de propriété
Type : System. . :: . .Int32
The time (in seconds) to wait for the command to execute. The default value is 30 seconds.
Notes
Exceptions
Exception type |
Condition |
---|---|
ArgumentException |
The property value assigned is less than 0. |