SetStringValue Method (SqlServiceAdvancedProperty Class )

 

Sets the string value of a property.

  
object  
.SetStringValue(  
StrValue  
)  
  

object
A SqlServiceAdvancedProperty Class object that represents an advanced property.

Parameters

ParameterDescription
StrValueA string value that specifies the value of the advanced property.

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.

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

Starting and Stopping Services

Show: