CommandTimeout Property
See Also 
SourceCode.Data.Configuration Namespace > ExecutionConfigurationElement Class : CommandTimeout Property



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<ConfigurationPropertyAttribute(Name="commandTimeout", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property CommandTimeout As TimeSpan
Visual Basic (Usage) Copy Code
Dim instance As ExecutionConfigurationElement
Dim value As TimeSpan
 
instance.CommandTimeout = value
 
value = instance.CommandTimeout
C#  
[ConfigurationProperty(Name="commandTimeout", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public TimeSpan CommandTimeout {get; set;}
C++/CLI  
[ConfigurationProperty(Name="commandTimeout", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property TimeSpan CommandTimeout {
   TimeSpan get();
   void set (    TimeSpan value);
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also