Méthode CheckConfigurationProperty(T)

Checks the specified configuration property.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Sub CheckConfigurationProperty(Of T As IComparable) ( _
    property As String, _
    configValue As T, _
    runValue As T _
)
'Utilisation
Dim property As String
Dim configValue As T
Dim runValue As T

Utils.CheckConfigurationProperty(property, _
    configValue, runValue)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static void CheckConfigurationProperty<T>(
    string property,
    T configValue,
    T runValue
)
where T : IComparable
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
generic<typename T>
where T : IComparable
static void CheckConfigurationProperty(
    String^ property, 
    T configValue, 
    T runValue
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member CheckConfigurationProperty : 
        property:string * 
        configValue:'T * 
        runValue:'T -> unit  when 'T : IComparable
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T

Paramètres

  • configValue
    Type : T
    The configuration value of the generic type.
  • runValue
    Type : T
    The run value of the generic type.