SetStrValue Method (ClientNetworkProtocolProperty Class)

Applies to: SQL Server

Sets the string value of the current property referenced by the PropertyIdx Property (ClientNetworkProtocolProperty Class) value.

Syntax

  
object.SetStrValue(StrValue)  

Parts

object
A ClientNetworkProtocolProperty Class object that represents an attribute of the network protocol used by the SQL Server client.

Parameters

Parameter Description
StrValue A string value that specifies the new value of the current 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

See Also

Configure Client Protocols