Partilhar via


Método Utils.CheckConfigurationProperty<T>

Checks the specified configuration property.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Sub CheckConfigurationProperty(Of T As IComparable) ( _
    property As String, _
    configValue As T, _
    runValue As T _
)
'Uso
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 não dá suporte a tipos e métodos genéricos.

Parâmetros de tipo

  • T

Parâmetros

  • property
    Tipo: System.String
    A string value that specifies the property.
  • configValue
    Tipo: T
    The configuration value of the generic type.
  • runValue
    Tipo: T
    The run value of the generic type.

Consulte também

Referência

Utils Classe

Namespace Microsoft.SqlServer.Management.Dmf