CurrentValue Property
Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.
The CurrentValue property specifies a configuration parameter value for a point in time.
Syntax
object.CurrentValue [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A long integer
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetCurrentValue(LPLONG pRetVal);
HRESULT SetCurrentValue(LONG NewValue);
Hinweise
Modify the CurrentValue property to change Microsoft SQL Server configuration parameter values. The MinimumValue and MaximumValue properties provide the range of values acceptable for the CurrentValue property.
Setting the CurrentValue property does not change the value of the configuration parameter. If the DynamicReconfigure property is TRUE, use the ReconfigureCurrentValues or ReconfigureWithOverride method of the Configuration object to apply the change. If DynamicReconfigure is FALSE, the server must be restarted to apply the change.