SetNumericalValue Method (SqlServiceAdvancedProperty Class)

Sets the numeric value of a property.

Syntax

object.SetNumericalValue(NumValue)

Parameters

Parameter Description

NumValue

A uint32 value that specifies the value of the advanced property.

Parts

Property Value/Return Value

A uint32 value, which is 0 if the service was successfully modified, 1 if the request is not supported, and any other number to indicate an error.

Remarks

The property value type must be numeric to be able to set the property to a numeric value.

See Also

Other Resources

Starting and Stopping Services

Help and Information

Getting SQL Server 2005 Assistance