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