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



reasonCode

Glossary Item Box

Syntax

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

Parameters

reasonCode

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