SetChildState 方法
Sets the state value of the specified connection.
命名空间: Microsoft.SqlServer.Management.MultiServerConnection
程序集: Microsoft.SqlServer.Management.MultiServerConnection(在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)
语法
声明
Sub SetChildState ( _
childInfo As UIConnectionInfo, _
state As String _
)
用法
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
)
参数
- childInfo
类型:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
Specifies the connection to update.
- state
类型:System. . :: . .String
Specifies the new state value.