Udostępnij przez


Metoda Utils.CheckConfigurationProperty<T>

Sprawdza właściwość określonej konfiguracja.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Sub CheckConfigurationProperty(Of T As IComparable) ( _
    property As String, _
    configValue As T, _
    runValue As T _
)
'Użycie
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
Język JScript nie obsługuje ogólnych typów i metod.

Parametry typów

  • T

Parametry

  • property
    Typ: System.String
    Wartość ciąg, który określa właściwość.
  • configValue
    Typ: T
    Wartość konfiguracja typu rodzajowego.
  • runValue
    Typ: T
    Uruchom wartość typu rodzajowego.