Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.58 KB

File metadata and controls

54 lines (43 loc) · 1.58 KB
title SetStringValue Method (SqlServiceAdvancedProperty Class ) | Microsoft Docs
ms.custom
ms.date 03/03/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
database-engine
ms.tgt_pltfrm
ms.topic reference
apiname
SetStringValue Method (SqlServiceAdvancedProperty Class )
apilocation
sqlmgmproviderxpsp2up.mof
apitype MOFDef
helpviewer_keywords
SetStringValue method
ms.assetid a02d05f6-1072-4709-9ecc-e23e51c8c898
caps.latest.revision 15
author JennieHubbard
ms.author jhubbard
manager jhubbard

SetStringValue Method (SqlServiceAdvancedProperty Class )

Sets the string value of a property.

Syntax

  
object.SetStringValue(StrValue)  

Parts

object
A SqlServiceAdvancedProperty Class object that represents an advanced property.

Parameters

Parameter Description
StrValue A string 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 string to be able to set the property to a string value.

See Also

Starting and Stopping Services