Share via


IUpdateConnectionProperties.SetChildServerName Method

Definition

Sets the server name for a child connection.

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

Parameters

childInfo
UIConnectionInfo

Specifies the child connection to update.

serverName
String

Specifies the new server name.

Applies to