IUpdateConnectionProperties.SetChildState Method
Sets the state value of the specified connection.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Sub SetChildState ( _
childInfo As UIConnectionInfo, _
state As String _
)
'Usage
Dim instance As IUpdateConnectionProperties
Dim childInfo As UIConnectionInfo
Dim state As String
instance.SetChildState(childInfo, state)
void SetChildState(
UIConnectionInfo childInfo,
string state
)
void SetChildState(
UIConnectionInfo^ childInfo,
String^ state
)
abstract SetChildState :
childInfo:UIConnectionInfo *
state:string -> unit
function SetChildState(
childInfo : UIConnectionInfo,
state : String
)
Parameters
- childInfo
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Specifies the connection to update.
- state
Type: System.String
Specifies the new state value.