Freigeben über


Utils.CheckConfigurationProperty<T>-Methode

Checks the specified configuration property.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Sub CheckConfigurationProperty(Of T As IComparable) ( _
    property As String, _
    configValue As T, _
    runValue As T _
)
'Usage
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T

Parameter

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

Siehe auch

Verweis

Utils Klasse

Microsoft.SqlServer.Management.Dmf-Namespace