共用方式為


Utils.CheckConfigurationProperty<T> 方法

Checks the specified configuration property.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Sub CheckConfigurationProperty(Of T As IComparable) ( _
    property As String, _
    configValue As T, _
    runValue As T _
)
'用途
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 不支援一般類型和方法。

型別參數

  • T

參數

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

請參閱

參考

Utils 類別

Microsoft.SqlServer.Management.Dmf 命名空間