Méthode SetChildState
Sets the state value of the specified connection.
Espace de noms : Microsoft.SqlServer.Management.MultiServerConnection
Assembly : Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntaxe
'Déclaration
Sub SetChildState ( _
childInfo As UIConnectionInfo, _
state As String _
)
'Utilisation
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
)
Paramètres
- childInfo
Type : Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
Specifies the connection to update.
- state
Type : System. . :: . .String
Specifies the new state value.