Visual Basic (Declaration) | |
---|---|
Public Shared Function FromException( _ ByVal ex As SqlException _ ) As ThrottlingCondition |
Visual Basic (Usage) | ![]() |
---|---|
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
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