Utils.CheckConfigurationProperty<T> Method
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 does not support generic types and methods.
Type Parameters
- T
Parameters
- property
Type: System.String
A string value that specifies the property.
- configValue
Type: T
The configuration value of the generic type.
- runValue
Type: T
The run value of the generic type.