FromException Method
See Also 
SourceCode.Data.Sql Namespace > ThrottlingCondition Class : FromException Method



ex

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Shared Function FromException( _
   ByVal ex As SqlException _
) As ThrottlingCondition
Visual Basic (Usage) Copy Code
Dim ex As SqlException
Dim value As ThrottlingCondition
 
value = ThrottlingCondition.FromException(ex)
C#  
public static ThrottlingCondition FromException( 
   SqlException ex
)
C++/CLI  
public:
static ThrottlingCondition^ FromException( 
   SqlException^ ex
) 

Parameters

ex

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