SetChildServerName 方法
Sets the server name for a child connection.
命名空间: Microsoft.SqlServer.Management.MultiServerConnection
程序集: Microsoft.SqlServer.Management.MultiServerConnection(在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)
语法
声明
Sub SetChildServerName ( _
childInfo As UIConnectionInfo, _
serverName As String _
)
用法
Dim instance As IUpdateConnectionProperties
Dim childInfo As UIConnectionInfo
Dim serverName As String
instance.SetChildServerName(childInfo, _
serverName)
void SetChildServerName(
UIConnectionInfo childInfo,
string serverName
)
void SetChildServerName(
UIConnectionInfo^ childInfo,
String^ serverName
)
abstract SetChildServerName :
childInfo:UIConnectionInfo *
serverName:string -> unit
function SetChildServerName(
childInfo : UIConnectionInfo,
serverName : String
)
参数
- childInfo
类型:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
Specifies the child connection to update.
- serverName
类型:System. . :: . .String
Specifies the new server name.