SqlScriptEditorControl.MultiServerPropertiesDisplay.SetChildServerName Method

Definition

Sets the server name for a child connection.

public:
 virtual 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
override this.SetChildServerName : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * string -> unit
Public Sub SetChildServerName (childInfo As UIConnectionInfo, serverName As String)

Parameters

childInfo
UIConnectionInfo

The UIConnectionInfo object for the connection to update.

serverName
String

A string value that contains the server name.

Implements

Applies to