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



error

Glossary Item Box

Syntax

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

Parameters

error

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