IUpdateConnectionProperties.SetChildState(UIConnectionInfo, String) Method

Definition

Sets the state value of the specified connection.

public:
 void SetChildState(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ childInfo, System::String ^ state);
public void SetChildState (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo childInfo, string state);
abstract member SetChildState : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * string -> unit
Public Sub SetChildState (childInfo As UIConnectionInfo, state As String)

Parameters

childInfo
UIConnectionInfo

Specifies the connection to update.

state
String

Specifies the new state value.

Applies to