The CurrentValue property specifies a configuration parameter value for a point in time.
object.CurrentValue [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Long integer |
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 shut down and restarted to apply the change.
Long
Read/write
HRESULT GetCurrentValue(LPLONG pRetVal);
HRESULT SetCurrentValue(LONG NewValue);