Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.7 KB

File metadata and controls

53 lines (42 loc) · 1.7 KB
title SetNumericalValue Method (SqlServiceAdvancedProperty Class) | Microsoft Docs
ms.custom
ms.date 03/04/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology
database-engine
ms.topic reference
apiname
SetNumericalValue Method (SqlServiceAdvancedProperty Class)
apilocation
sqlmgmproviderxpsp2up.mof
apitype MOFDef
helpviewer_keywords
SetNumericalValue method
ms.assetid 950ed1e8-0538-4db4-807c-a2c36f43cf6b
author CarlRabeler
ms.author carlrab
manager craigg

SetNumericalValue Method (SqlServiceAdvancedProperty Class)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md] Sets the numeric value of a property.

Syntax

  
object.SetNumericalValue(NumValue)  

Parts

object
A SqlServiceAdvancedProperty Class object that represents an advanced property.

Parameters

Parameter Description
NumValue A uint32 value that specifies the value of the advanced property.

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

Starting and Stopping Services