Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.61 KB

File metadata and controls

51 lines (40 loc) · 1.61 KB
title SetBoolValue Method (SqlServiceAdvancedProperty)
ms.custom seo-lt-2019
ms.date 03/06/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology wmi
ms.topic reference
apiname
SetBoolValue Method (SqlServiceAdvancedProperty Class)
apilocation
sqlmgmproviderxpsp2up.mof
apitype MOFDef
helpviewer_keywords
SetBoolValue method
ms.assetid 5252b439-fce5-446a-8e57-99e3054bee69
author CarlRabeler
ms.author carlrab

SetBoolValue Method (SqlServiceAdvancedProperty Class)

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

Syntax

  
object.SetBoolValue [= value]  

Parts

object
A SqlServiceAdvancedProperty Class object that represents an advanced property.

Parameters

Parameter Description
BoolValue A Boolean 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 Boolean to set the property to a Boolean value.

See Also

Starting and Stopping Services